/* APEX brand palette, sampled from the logo. */
:root {
  --apex-primary: #2b6695;
  --apex-blue: #2f70b8;
  --apex-accent: #bfd3eb;
  --apex-surface: #eff5fb;
  --apex-border: #cbdcec;
  --apex-navy: #16374f;
}

/* APEX additions on top of the gbs.lk theme (assets/gbs-theme) */
.apex-logo { height: 66px; width: auto; }
.theme-main-menu.fixed .apex-logo { height: 54px; }
.apex-logo-footer { height: 120px; width: auto; }
.white-vr .nav-item.active > .nav-link { color: var(--apex-accent); }

/* WhatsApp float (same as gbs.lk) */
.float { position: fixed; width: 60px; height: 60px; bottom: 90px; right: 20px; background-color: #25d366; color: #fff;
  border-radius: 50px; text-align: center; font-size: 30px; box-shadow: 2px 2px 3px #999; z-index: 100; }
.float:hover { color: #fff; }
.my-float { margin-top: 16px; }
.bounce { animation: apexBounce 2s infinite; }
@keyframes apexBounce { 0%,25%,50%,75%,100% { transform: translateY(0); } 40% { transform: translateY(-20px); } 60% { transform: translateY(-12px); } }

/* "Discuss & Start" client avatars (in place of the client-logo strip) */
.apex-avatars { display: flex; }
.apex-avatars img { width: 64px; height: 64px; border-radius: 50%; border: 3px solid #e2eaf3; object-fit: cover; margin-left: -16px; }
.apex-avatars img:first-child { margin-left: 0; }

/* Service cards on the home page */
.apex-card-mark { height: auto; filter: none !important; }
.apex-card-img { width: 100%; height: 150px; object-fit: cover; border-radius: 14px; }
.card-style-two.text-reset:hover { color: inherit; }

/* World map (home "Local Talent" block) */
.media-list-item.apex-map { background: #eef4fa url("../img/apex/world-map-blue.webp") center / 92% no-repeat; }
.media-list-item.apex-map:before { display: none; }
.apex-worldmap { max-width: 1100px; margin: 0 auto; }

/* Services page */
.apex-svc-intro { max-width: 820px; }
.apex-svc-img { display: block; width: 100%; height: 340px; object-fit: cover; border-radius: 30px; margin-top: 30px; position: static !important; }
@media (max-width: 767px) { .apex-svc-img { height: 200px; border-radius: 20px; } }

/* Team cards */
.apex-team-img { aspect-ratio: 600 / 680; object-fit: cover; border-radius: 20px; }
.apex-li-soon, .apex-social-soon a { cursor: default; }

/* Placeholders */
.apex-tbc { font-style: italic; opacity: .75; }
.apex-mapslot { min-height: 400px; display: grid; place-items: center; text-align: center; border: 2px dashed #c9d6e4;
  background: #f3f7fb url("../img/apex/world-map-blue.webp") center / 80% no-repeat; }
.apex-mapslot div { background: rgba(255,255,255,.94); padding: 18px 26px; border-radius: 14px; }
.apex-mapslot b { display: block; color: var(--apex-primary); font-size: 20px; }
.apex-mapslot span { font-size: 16px; }

/* Insight articles */
.apex-article h3 { font-size: 30px; font-weight: 700; color: var(--apex-primary); margin: 40px 0 16px; }
.apex-article p, .apex-article li { font-size: 19px; line-height: 1.65; }
.apex-article ul { padding-left: 22px; margin-bottom: 20px; }
.apex-article li { margin-bottom: 8px; }
.apex-callout { margin-top: 36px; padding: 26px 30px; border-radius: 20px; background: var(--apex-surface); border-left: 6px solid var(--apex-accent); font-size: 19px; }
.contact-us-section .messages:not(:empty) { margin-bottom: 24px; padding: 14px 18px; border-radius: 10px; background: #e7f6ec; color: #155d31; font-size: 17px; }

/* Brand colors and clear interaction states across every page. */
.btn-one { background: var(--apex-blue); color: #fff; }
.btn-one:hover { background: var(--apex-primary); color: #fff; }
.btn-one .icon { filter: brightness(0) invert(1); }
.white-vr .nav-item.active > .nav-link,
.theme-main-menu.white-vr .nav-item:hover .nav-link { color: var(--apex-accent); }
.theme-main-menu.white-vr.fixed { background: rgba(22, 55, 79, .96); }
.fancy-banner-one:after { background: var(--apex-surface); }
.fancy-banner-one p { color: #526477; }
.title-one .upper-title { color: var(--apex-blue); }
.card-style-two { border-color: var(--apex-border); }
.card-style-two.yellow { background: var(--apex-surface); }
.card-style-two.blue { background: #e2ecf7; }
.card-style-two:hover { background: #d5e4f4; border-color: var(--apex-primary); }
.apex-callout { background: var(--apex-surface); border-left-color: var(--apex-blue); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--apex-blue); outline-offset: 4px; }

/* Square card, photo and panel edges at desktop and mobile sizes. */
.card,
.card-style-one,
.card-style-two,
.card-style-three,
.card-style-four,
.card-style-four .media,
.card-style-sixteen,
.blog-meta-one,
.blog-meta-one .post-img,
.blog-meta-two.style-two,
.feedback-block-two,
.feedback-block-four,
.apex-card-img,
.apex-svc-img,
.apex-team-img,
.apex-callout,
.apex-mapslot,
.apex-mapslot div,
.text-feature-one .media-list-item,
.text-feature-one .media-list-item:before,
.text-feature-three .media-wrapper,
.contact-us-section .bg-wrapper,
.contact-us-section .messages:not(:empty) { border-radius: 0; }

/* Keep the team photos rectangular, including the theme's corner cutout. */
.card-style-four .media:after { display: none; }

/* Montserrat for site text; icon fonts retain their own families. */
body, input, textarea, select, button {
  font-family: "Montserrat", sans-serif;
}

/* Two equal purpose columns, stacked with matching spacing on mobile. */
.apex-purpose .apex-purpose-item { height: 100%; padding: 56px 48px 56px 0; }
.apex-purpose .apex-purpose-vision { padding-left: 48px; padding-right: 0; border-left: 1px dashed #cacaca; }
.apex-purpose h3 { font-size: 28px; font-weight: 700; margin: 0 0 24px; }
.apex-purpose p { margin: 0; line-height: 1.8; }
@media (max-width: 767px) {
  .apex-purpose .apex-purpose-item { padding: 32px 0; }
  .apex-purpose .apex-purpose-vision { border-left: 0; border-top: 1px dashed #cacaca; }
  .apex-purpose h3 { font-size: 24px; margin-bottom: 18px; }
}

/* APEX testimonials: an editorial heading and a static grid of client quotes. */
.apex-testimonials { margin-top: 140px; padding: 88px 0; background: var(--apex-surface); }
.apex-testimonials-intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: end; margin-bottom: 44px; }
.apex-testimonials-eyebrow { color: var(--apex-primary); font-size: 13px; font-weight: 700; letter-spacing: .15em; margin: 0 0 20px; }
.apex-testimonials h2 { font-size: clamp(32px, 3.4vw, 50px); font-weight: 700; line-height: 1.2; margin: 0; letter-spacing: -.035em; }
.apex-testimonials-summary { max-width: 470px; justify-self: end; }
.apex-testimonials-summary p { font-size: 17px; line-height: 1.8; margin: 0 0 20px; color: #526477; }
.apex-testimonials-link { display: inline-flex; gap: 20px; align-items: center; color: var(--apex-primary); font-size: 15px; font-weight: 700; border-bottom: 1px solid var(--apex-primary); padding-bottom: 6px; }
.apex-testimonials-link:hover { color: var(--apex-navy); border-color: var(--apex-navy); }
.apex-testimonials-link span { font-size: 24px; line-height: 1; }
.apex-testimonial-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 24px; }
.apex-testimonial-card { display: flex; flex-direction: column; margin: 0; padding: 32px; background: #fff; border: 1px solid var(--apex-border); border-top: 4px solid var(--apex-primary); }
.apex-testimonial-topic { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--apex-primary); font-size: 12px; font-weight: 700; line-height: 1.5; letter-spacing: .04em; }
.apex-testimonial-quote { font-size: 64px; font-weight: 500; line-height: 1; height: 36px; }
.apex-testimonial-card blockquote { margin: 28px 0 32px; }
.apex-testimonial-card blockquote p { margin: 0; font-size: 18px; line-height: 1.8; color: #344859; }
.apex-testimonial-card figcaption { display: flex; flex-direction: column; align-items: flex-start; margin-top: auto; padding-top: 24px; border-top: 1px solid var(--apex-border); }
.apex-testimonial-client { font-size: 15px; font-weight: 700; color: var(--apex-navy); }
.apex-testimonial-company { font-size: 13px; color: #526477; margin-top: 5px; }
.apex-testimonial-location { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--apex-primary); margin-top: 16px; }
.apex-testimonial-featured { background: var(--apex-navy); border-color: var(--apex-navy); border-top-color: var(--apex-blue); }
.apex-testimonial-featured blockquote p, .apex-testimonial-featured .apex-testimonial-client { color: #fff; }
.apex-testimonial-featured .apex-testimonial-topic, .apex-testimonial-featured .apex-testimonial-company, .apex-testimonial-featured .apex-testimonial-location { color: #bfd3eb; }
.apex-testimonial-featured figcaption { border-color: rgba(191, 211, 235, .3); }
@media (max-width: 991px) {
  .apex-testimonials { margin-top: 90px; padding: 64px 0; }
  .apex-testimonials-intro { gap: 32px; }
  .apex-testimonial-grid { grid-template-columns: 1fr 1fr; }
  .apex-testimonial-featured { grid-column: 1 / -1; }
}
@media (max-width: 575px) {
  .apex-testimonials { margin-top: 80px; padding: 48px 0; }
  .apex-testimonials-intro { grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px; }
  .apex-testimonials-summary { justify-self: start; }
  .apex-testimonial-grid { grid-template-columns: 1fr; gap: 20px; }
  .apex-testimonial-card { padding: 26px; }
  .apex-testimonial-card blockquote p { font-size: 17px; }
}

/* Minimal site rhythm and typography. */
body { color: #526171; font-size: 18px; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { letter-spacing: -.035em; }
.title-one h2 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.18; }
.text-lg { font-size: 18px; line-height: 1.8; }
.text-xl { font-size: 20px; line-height: 1.7; }
.btn-one, .btn-four, .btn-six, .btn-two, .btn-three.border-style { border-radius: 0; font-size: 14px; font-weight: 600; padding-left: 24px; padding-right: 24px; }
.btn-one, .btn-four { background: var(--apex-primary); }
.btn-one:hover, .btn-four:hover { color: #fff; background: var(--apex-navy); }
.btn-six:hover { background: var(--apex-surface); border-color: var(--apex-primary); color: var(--apex-primary); }
.main-page-wrapper .mt-150 { margin-top: 104px; }
.main-page-wrapper .mb-150 { margin-bottom: 104px; }
.float { width: 48px; height: 48px; font-size: 25px; right: 20px; bottom: 70px; box-shadow: 0 4px 16px rgba(22,55,79,.12); }
.my-float { margin-top: 12px; }
.bounce { animation: none; }
.card-style-four:hover { scale: 1; }
.apex-purpose .wrapper { border-style: solid; border-color: #e2e9ef; }
.apex-purpose .apex-purpose-vision { border-left-style: solid; border-color: #e2e9ef; }
.apex-purpose h3 { font-size: 26px; }
.apex-purpose p { font-size: 17px; }
.apex-testimonials { margin-top: 104px; padding: 72px 0; }
.apex-testimonial-card { border-top-width: 2px; }
.apex-testimonial-card blockquote p { font-size: 17px; }

/* Contact strip and white navigation. */
.apex-topbar { background: var(--apex-navy); color: #d9e5f0; font-size: 11px; letter-spacing: .02em; }
.apex-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 38px; }
.apex-topbar p { margin: 0; }
.apex-topbar-links { display: flex; align-items: center; gap: 26px; }
.apex-topbar a { color: #edf5fc; }
.apex-topbar a:hover { color: var(--apex-accent); text-decoration: underline; }
.apex-topbar-email-short { display: none; }
.theme-main-menu.apex-header { padding: 16px 0; background: #fff; border-bottom: 1px solid #e2e9ef; }
.theme-main-menu.apex-header.fixed { top: 0; padding: 12px 0; background: #fff; box-shadow: 0 4px 20px rgba(22,55,79,.05); }
.apex-header .apex-logo, .apex-header.fixed .apex-logo { height: 60px; width: auto; }
.theme-main-menu.apex-header .nav-item .nav-link { font-size: 13px; font-weight: 600; color: #344859; margin: 0 17px; padding: 20px 0; }
.theme-main-menu.apex-header .nav-item.active > .nav-link, .theme-main-menu.apex-header .nav-item:hover > .nav-link { color: var(--apex-primary); }
.apex-header .nav-item.active > .nav-link:before { content: ""; position: absolute; bottom: 10px; left: 0; width: 20px; height: 2px; background: var(--apex-primary); }
.apex-header .navbar .dropdown-menu { border: 1px solid #e2e9ef; box-shadow: 0 12px 30px rgba(22,55,79,.06); padding: 12px; }
.apex-header .navbar .dropdown-item { font-size: 13px; line-height: 2.2; }
.apex-header .navbar-toggler { background: var(--apex-surface); }
.apex-header .navbar-collapse { background: #fff; }
.hero-banner-one { padding-top: 112px; padding-bottom: 112px; }
.hero-banner-one .hero-heading { font-size: clamp(38px, 4.5vw, 64px); line-height: 1.12; letter-spacing: -.045em; }
.hero-banner-one .hero-img:after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,34,52,.72), rgba(11,34,52,.15) 80%); }
.hero-banner-one .hero-heading, .hero-banner-one .slide-para { color: #fff; }
.hero-banner-one .slide-para { max-width: 560px; font-size: 18px; }
.inner-banner-one { padding-top: 100px; padding-bottom: 88px; }
.inner-banner-one .hero-heading { font-size: clamp(36px, 4vw, 58px); line-height: 1.15; }

/* Footer: a large invitation, quiet navigation and a typographic signature. */
.apex-footer { background: #102d43; color: #b9cbd9; padding: 76px 0 0; margin-top: 104px; }
.apex-footer-invitation { display: flex; align-items: end; justify-content: space-between; gap: 32px; padding-bottom: 60px; border-bottom: 1px solid #304b60; }
.apex-footer-eyebrow { color: #a0bed6; letter-spacing: .14em; font-size: 11px; font-weight: 600; margin: 0 0 22px; }
.apex-footer-invitation h2 { color: #f4f8fc; font-size: clamp(32px, 4vw, 56px); font-weight: 500; line-height: 1.15; margin: 0; }
.apex-footer-cta { display: flex; align-items: center; gap: 30px; color: #fff; font-size: 18px; font-weight: 500; }
.apex-footer-arrow { display: grid; place-items: center; width: 72px; height: 72px; border: 1px solid #62829b; font-size: 36px; transition: background .2s, color .2s; }
.apex-footer-cta:hover { color: #fff; }
.apex-footer-cta:hover .apex-footer-arrow { background: #bfd3eb; color: #102d43; }
.apex-footer-grid { display: grid; grid-template-columns: 1.25fr .6fr 1fr 1.05fr; gap: 36px; padding: 52px 0 44px; }
.apex-footer-brand img { width: 110px; height: auto; display: block; margin-bottom: 20px; }
.apex-footer-brand p { font-size: 13px; line-height: 1.9; max-width: 250px; margin: 0 0 22px; }
.apex-footer-location { font-size: 11px; color: #8ba9bf; }
.apex-footer h3 { font-size: 13px; color: #f4f8fc; font-weight: 600; letter-spacing: 0; margin: 8px 0 22px; }
.apex-footer ul { list-style: none; padding: 0; margin: 0; }
.apex-footer li { margin-bottom: 14px; line-height: 1.5; }
.apex-footer a { color: #b9cbd9; }
.apex-footer li a, .apex-footer-contact > a { font-size: 12px; }
.apex-footer a:hover { color: #fff; }
.apex-footer-contact > a { display: block; margin-bottom: 16px; overflow-wrap: anywhere; }
.apex-footer-contact .apex-footer-whatsapp { display: inline-flex; align-items: center; gap: 22px; border-bottom: 1px solid #62829b; padding: 8px 0; color: #edf5fc; }
.apex-footer-wordmark { display: flex; align-items: end; justify-content: space-between; color: #25465f; font-size: clamp(100px, 17vw, 240px); font-weight: 700; letter-spacing: -.065em; line-height: .85; padding: 20px 0 34px; user-select: none; }
.apex-footer-wordmark span { color: #62829b; font-size: 10px; font-weight: 500; letter-spacing: .24em; padding-bottom: 8px; }
.apex-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid #304b60; padding: 24px 0; }
.apex-footer-bottom p { font-size: 10px; line-height: 1.8; margin: 0; }
.apex-footer-bottom a { color: #d9e5f0; }
@media (max-width: 1199px) {
  .theme-main-menu.apex-header .nav-item .nav-link { margin: 0 12px; }
  .apex-footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 64px; }
}
@media (max-width: 991px) {
  .apex-topbar p { font-size: 10px; }
  .apex-topbar-email { display: none; }
  .apex-topbar-email-short { display: inline; }
  .apex-topbar-links { gap: 18px; }
  .theme-main-menu.apex-header, .theme-main-menu.apex-header.fixed { padding: 12px 0; }
  .apex-header .apex-logo, .apex-header.fixed .apex-logo { height: 50px; }
  .apex-header .navbar-collapse { padding: 24px 18px; }
  .apex-header .navbar-collapse .logo { margin-bottom: 32px; }
  .theme-main-menu.apex-header .nav-item .nav-link { margin: 0; padding: 16px 0; border-top: 1px solid #e2e9ef; }
  .apex-header .nav-item.active > .nav-link:before { display: none; }
  .apex-header .navbar .dropdown-menu { padding: 8px; box-shadow: none; }
  .hero-banner-one { padding: 88px 0; }
  .inner-banner-one { padding: 80px 0 64px; }
  .main-page-wrapper .mt-150, .apex-testimonials { margin-top: 80px; }
  .apex-footer { margin-top: 80px; padding-top: 60px; }
}
@media (max-width: 575px) {
  .apex-topbar-inner { min-height: 36px; gap: 12px; }
  .apex-topbar p { max-width: 145px; font-size: 9px; line-height: 1.4; }
  .apex-topbar-links { gap: 12px; font-size: 10px; }
  .apex-topbar-email-short { display: none; }
  .apex-header .right-widget { margin-right: 0 !important; }
  .hero-banner-one { padding: 72px 0; }
  .hero-banner-one .slide-para { font-size: 16px; }
  .hero-banner-one .hero-heading { font-size: 40px; }
  .apex-purpose .apex-purpose-vision { border-left: 0; border-top-style: solid; }
  .apex-footer { margin-top: 64px; padding-top: 44px; }
  .apex-footer-invitation { flex-direction: column; align-items: start; padding-bottom: 36px; }
  .apex-footer-cta { font-size: 16px; gap: 24px; }
  .apex-footer-arrow { width: 48px; height: 48px; font-size: 28px; }
  .apex-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding: 36px 0 24px; }
  .apex-footer-brand, .apex-footer-contact { grid-column: 1 / -1; }
  .apex-footer-brand p { max-width: 320px; }
  .apex-footer-wordmark { font-size: 110px; padding: 16px 0 26px; }
  .apex-footer-wordmark span { font-size: 8px; max-width: 110px; line-height: 1.8; }
  .apex-footer-bottom { flex-direction: column; align-items: start; gap: 8px; padding: 20px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wow { animation: none !important; visibility: visible !important; }
}
