/*----------------------------------------*/
/*  MAXBLO brand theme
    Loaded after main.css. Re-colours the corporate (crp-*) template
    from green / yellow to the MAXBLO logo navy with a cyan tech accent.
/*----------------------------------------*/

:root {
  --mx-navy: #041D77;        /* logo colour */
  --mx-navy-deep: #020F44;   /* hero, footer */
  --mx-navy-mid: #04195F;    /* dark sections */
  --mx-royal: #0169F8;       /* highlight on light backgrounds */
  --mx-cyan: #48B615;        /* highlight on dark backgrounds */
  --mx-cyan-grad: linear-gradient(135deg, #9BE83A 0%, #48B615 55%, #05AEBE 100%);
  --mx-light: #F3F5FF;       /* page background */
  --mx-ink: #161B3D;
  --mx-muted: #5A6086;

  /* template variables re-mapped to brand */
  --tp-common-yellow-green: var(--mx-cyan);
  --tp-common-cream-3: #F3F5FF;
  --tp-common-black-9: var(--mx-navy-deep);
  --tp-theme-green: var(--mx-navy);
}

body {
  background-color: var(--mx-light);
}

::selection {
  background: var(--mx-cyan);
  color: var(--mx-navy-deep);
}

/* preloader + cursor */
#preloader { background-color: var(--mx-navy-deep); }
.preloader span { background: var(--mx-cyan-grad); }
#ball { background-color: var(--mx-navy); }

/*---------- logo ----------*/
.tp-header-9-logo img { width: 130px; height: auto; }
.tp-offcanvas-logo img { width: 150px; height: auto; }
.crp-footer-logo img { width: 170px; height: auto; margin-bottom: 25px; }

/*---------- header ----------*/
.tp-header-9-menu > nav > ul > li > a:hover { color: var(--mx-cyan); }
.header-sticky.tp-header-9-sticky .tp-header-9-menu > nav > ul > li > a { color: var(--mx-navy); }
.header-sticky.tp-header-9-sticky .tp-header-9-menu > nav > ul > li > a:hover { color: var(--mx-royal); }
.header-sticky.tp-header-9-sticky .tp-header-9-btn .tp-btn-yellow-green { color: #fff; background-color: var(--mx-navy); }
.header-sticky.tp-header-9-sticky .tp-header-bar button i { background-color: var(--mx-navy); }

/*---------- buttons ----------*/
.tp-btn-yellow-green { color: var(--mx-navy-deep); background: var(--mx-cyan-grad); }
.tp-btn-yellow-green:hover,
.tp-btn-yellow-green:focus { color: var(--mx-navy-deep); }
.tp-btn-green-border,
.tp-btn-green-border:hover,
.tp-btn-green-border:focus { color: var(--mx-navy-deep); border-color: var(--mx-navy-deep); }
.tp-btn-green-border svg path { stroke: var(--mx-navy-deep); }
.agntix-light .crp-about-btn-box .tp-btn-yellow-green { color: #fff; background-color: var(--mx-navy); }
.agntix-light .tp-btn-yellow-border { color: var(--mx-navy); border-color: var(--mx-navy); }
.agntix-light .crp-price-btn-box .tp-btn-yellow-border { color: var(--mx-cyan); border-color: var(--mx-cyan); }
.crp-price-item.active .tp-btn-yellow-border.sm { color: var(--mx-navy-deep); background: var(--mx-cyan-grad); }

.mx-btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 34px;
  height: 60px;
  border-radius: 60px;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease-in-out;
}
.mx-btn-outline-light:hover { color: var(--mx-navy-deep); background-color: #fff; border-color: #fff; }

/*---------- section titles (light sections) ----------*/
.agntix-light .tp-section-subtitle-teko,
.agntix-light .tp-section-subtitle-teko i,
.agntix-light .tp-section-title-teko { color: var(--mx-navy); }
.agntix-light .tp-section-title-teko span,
.agntix-light .tp-section-subtitle-teko i { color: var(--mx-royal); }
.agntix-light .crp-price-title-box .tp-section-subtitle-teko { color: var(--mx-cyan); }

/*---------- hero ----------*/
.crp-hero-area.mx-hero {
  position: relative;
  overflow: hidden;
  background-color: var(--mx-navy-deep);
  background-image:
    radial-gradient(circle at 85% 15%, rgba(72, 182, 21, 0.28), transparent 42%),
    radial-gradient(circle at 5% 95%, rgba(4, 29, 119, 0.45), transparent 50%),
    linear-gradient(160deg, #020F44 0%, #04195F 60%, #041D77 100%);
}
.mx-hero > .container { position: relative; z-index: 1; }
.mx-hero .crp-hero-title span { color: var(--mx-cyan); }

.mx-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  padding: 8px 18px 8px 10px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #DCE3FF;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.mx-hero-tag i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mx-cyan-grad);
  box-shadow: 0 0 0 4px rgba(72, 182, 21, 0.25);
}

.mx-hero-icon {
  display: inline-flex;
  width: 0.72em;
  height: 0.72em;
  border-radius: 50%;
  vertical-align: middle;
  margin: 0 0.08em 0.12em;
  background: #fff;
  box-shadow: 0 0 0 6px rgba(72, 182, 21, 0.18), 0 0 40px rgba(72, 182, 21, 0.45);
  animation: mx-pulse 3s ease-in-out infinite;
}
.mx-hero-icon img { width: 100%; height: 100%; object-fit: contain; padding: 12%; }
@keyframes mx-pulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(72, 182, 21, 0.18), 0 0 40px rgba(72, 182, 21, 0.35); }
  50% { box-shadow: 0 0 0 12px rgba(72, 182, 21, 0.08), 0 0 60px rgba(72, 182, 21, 0.55); }
}

/* hero entrance: pure CSS so hero content never waits on scroll triggers */
.mx-hero-in {
  animation: mx-hero-in 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: var(--mx-d, 0s);
}
@keyframes mx-hero-in {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .mx-hero-in { animation: none; }
}

.mx-hero-text {
  max-width: 620px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(243, 245, 255, 0.75);
  margin-bottom: 40px;
}
.mx-hero-btns { display: flex; flex-wrap: wrap; gap: 15px; }

/* hero fact card */
.crp-hero-funfact-wrap.mx-funfact {
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 30px 60px rgba(4, 8, 40, 0.35);
}
.crp-hero-funfact-line,
.crp-hero-funfact-line::before { background: var(--mx-cyan-grad); }
.crp-hero-funfact-top-content h4,
.crp-hero-funfact-item h4 { color: var(--mx-navy); }
.crp-hero-funfact-top-content p,
.crp-hero-funfact-more-details p { color: var(--mx-muted); }
.crp-hero-funfact-wrap .crp-hero-funfact-item:not(:last-child) { border-bottom-color: rgba(4, 29, 119, 0.1); }
.crp-hero-funfact-more-details a svg path { stroke: var(--mx-royal); }
.mx-funfact-icon { width: 54px; margin-bottom: 20px; }

/*---------- banner ----------*/
.crp-banner-wrap img { object-fit: cover; height: 100%; }

/*---------- about ----------*/
.mx-about-mark { width: 380px; opacity: 0.06; }
.crp-about-exp { background: var(--mx-cyan-grad); }
.crp-about-exp-item span,
.crp-about-exp-item i { color: var(--mx-navy-deep); }
.agntix-light .crp-about-text p { color: var(--mx-muted); }
.mx-about-desc {
  font-size: 17px;
  line-height: 1.8;
  color: var(--mx-muted);
  margin-top: 40px;
  margin-bottom: 0;
}

/*---------- scrolling services band ----------*/
.yellow-green-bg { background-color: var(--mx-navy); }
.crp-text-slider-style.ar-brand-style .tp-brand-title { color: #fff; }
.crp-text-slider-style.ar-brand-style .tp-brand-title::after { background: var(--mx-cyan-grad); }

/*---------- services grid ----------*/
.mx-service-area { position: relative; }
.mx-service-head p { font-size: 17px; line-height: 1.7; color: var(--mx-muted); margin-bottom: 0; }
.mx-service-card {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(4, 29, 119, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.mx-service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(4, 29, 119, 0.15);
}
.mx-service-thumb {
  position: relative;
  height: 210px;
  overflow: hidden;
}
.mx-service-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 15, 68, 0) 40%, rgba(2, 15, 68, 0.55) 100%);
}
.mx-service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.mx-service-card:hover .mx-service-thumb img { transform: scale(1.08); }
.mx-service-num {
  position: absolute;
  top: 18px;
  left: 20px;
  z-index: 1;
  padding: 2px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #fff;
  background: rgba(2, 15, 68, 0.55);
  backdrop-filter: blur(6px);
}
.mx-service-body { position: relative; padding: 42px 30px 32px; }
.mx-service-icon {
  position: absolute;
  top: -30px;
  left: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  color: #fff;
  background: var(--mx-navy);
  border: 4px solid #fff;
  transition: background 0.3s ease, color 0.3s ease;
}
.mx-service-card:hover .mx-service-icon { background: var(--mx-cyan-grad); color: var(--mx-navy-deep); }
.mx-service-title {
  font-family: var(--tp-ff-teko);
  font-size: 32px;
  font-weight: 500;
  line-height: 1;
  color: var(--mx-navy);
  margin-bottom: 12px;
}
.mx-service-body p { font-size: 15px; line-height: 1.7; color: var(--mx-muted); margin-bottom: 0; }

/* homepage service card titles are links */
.mx-service-title a { color: inherit; }
.mx-service-title a:hover { color: var(--mx-royal); }
/*---------- success / highlight grid ----------*/
.crp-success-big-img img { object-fit: cover; }
.crp-success-img img { height: 100%; object-fit: cover; }
.mx-success-navy { background-color: var(--mx-navy); }
.mx-success-cyan { background: var(--mx-cyan-grad); }
.crp-success-yellow-box .crp-success-content p { color: var(--mx-navy-deep); }

/*---------- who we serve (pinned cards) ----------*/
.agntix-light .crp-project-item { background-color: #fff; border: 1px solid rgba(4, 29, 119, 0.1); }
.crp-project-meta span { color: var(--mx-navy); }
.crp-project-meta::after { background-color: rgba(4, 29, 119, 0.08); }
.crp-project-title-sm,
.crp-project-title-sm a { color: var(--mx-navy); }
.crp-project-content { border-top-color: rgba(4, 29, 119, 0.08); }
.crp-project-category a,
.crp-project-category span {
  display: inline-block;
  margin: 0 6px 8px 0;
  padding: 4px 16px;
  border-radius: 30px;
  font-size: 14px;
  color: var(--mx-navy);
  border: 1px solid rgba(4, 29, 119, 0.12);
}
.mx-project-thumb { padding: 0 0 30px; }
.mx-project-thumb img {
  width: 100%;
  height: 380px;
  border-radius: 20px;
  object-fit: cover;
}
.mx-project-text { font-size: 16px; line-height: 1.7; color: var(--mx-muted); margin-bottom: 20px; }

/*---------- process ----------*/
.agntix-light .crp-process-title-sm { color: var(--mx-navy); }
.agntix-light .crp-process-content p { color: var(--mx-muted); }
.mx-process-icon {
  width: 84px;
  height: 84px;
  border-radius: 24px;
  display: grid;
  place-content: center;
  color: var(--mx-navy);
  background: #fff;
  border: 1px solid rgba(4, 29, 119, 0.1);
  box-shadow: 0 14px 30px rgba(4, 29, 119, 0.08);
  position: relative;
}
.mx-process-icon b {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  font-size: 13px;
  color: #fff;
  background: var(--mx-royal);
}

/*---------- why choose us (dark) ----------*/
.crp-price-bg { background-color: var(--mx-navy-mid); }
.crp-price-item { background: rgba(255, 255, 255, 0.05); border-color: rgba(220, 227, 255, 0.12); }
.crp-price-item.active { background: rgba(72, 182, 21, 0.1); border-color: rgba(72, 182, 21, 0.4); }
.crp-price-head { border-bottom-color: rgba(220, 227, 255, 0.12); }
.crp-price-head span { color: var(--mx-cyan); }
.crp-price-head h4.mx-why-title { font-size: 46px; line-height: 1; }
.crp-price-list ul li::before { background: var(--mx-cyan-grad); }

/*---------- text slider ----------*/
.crp-text-slider-item span { color: rgba(220, 227, 255, 0.12); }
.crp-text-slider-item.stroke-text span { -webkit-text-stroke-color: rgba(72, 182, 21, 0.35); }

/*---------- footer ----------*/
.crp-footer-bg { background-color: var(--mx-navy-deep); }
.crp-footer-widget p { color: rgba(243, 245, 255, 0.7); }
.crp-footer-widget-menu ul li a,
.crp-footer-widget-info a { color: rgba(243, 245, 255, 0.75); }
.crp-footer-social a:hover { color: var(--mx-navy-deep); background: var(--mx-cyan-grad); }
.crp-footer-big-text { background-color: var(--mx-navy); color: var(--mx-cyan); }
.crp-footer-big-text:hover,
.crp-footer-big-text:focus { color: var(--mx-cyan); }
.crp-footer-big-text svg path { fill: var(--mx-cyan); }
.crp-copyright-text p span { color: var(--mx-cyan); }

/*---------- offcanvas ----------*/
.tp-offcanvas-social ul li a:hover { background-color: var(--mx-navy); border-color: var(--mx-navy); }

/*---------- floating whatsapp ----------*/
.mx-whatsapp {
  position: fixed;
  left: 30px;
  bottom: 30px;
  z-index: 99;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  color: #fff;
  background: #25D366;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease;
}
.mx-whatsapp:hover { color: #fff; transform: scale(1.08); }

/*---------- back to top ----------*/
.back-to-top-btn { color: #fff; background: var(--mx-navy); }

@media (max-width: 767px) {
  .mx-hero-text { font-size: 16px; }
  .mx-project-thumb img { height: 240px; }
  .mx-about-mark { width: 220px; }
  .mx-whatsapp { left: 16px; bottom: 16px; width: 52px; height: 52px; }
}

/*----------------------------------------*/
/*  About page
/*----------------------------------------*/
.mx-page-hero .container { padding-top: 220px; padding-bottom: 110px; }
.crp-hero-title.mx-page-title { font-size: 130px; margin-bottom: 25px; }
.mx-breadcrumb {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  font-size: 15px;
  color: rgba(243, 245, 255, 0.6);
  margin-bottom: 10px;
}
.mx-breadcrumb a { color: #fff; }
.mx-breadcrumb a:hover { color: var(--mx-cyan); }
.mx-breadcrumb [aria-current] { color: var(--mx-cyan); }

/* nav: highlight current page */
.tp-header-9-menu > nav > ul > li.mx-active > a { color: var(--mx-cyan); }
.header-sticky.tp-header-9-sticky .tp-header-9-menu > nav > ul > li.mx-active > a { color: var(--mx-royal); }

/* buttons on light backgrounds */
.tp-btn-yellow-green.mx-btn-navy,
.tp-btn-yellow-green.mx-btn-navy:hover { color: #fff; background-color: var(--mx-navy); }
.mx-btn-outline-navy {
  display: inline-flex;
  align-items: center;
  padding: 0 34px;
  height: 60px;
  border-radius: 60px;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--mx-navy);
  border: 1px solid rgba(4, 29, 119, 0.3);
  transition: all 0.3s ease-in-out;
}
.mx-btn-outline-navy:hover { color: #fff; background-color: var(--mx-navy); border-color: var(--mx-navy); }

/* story */
.mx-story-media { position: relative; padding: 0 60px 60px 0; }
.mx-story-img-main { width: 100%; height: 520px; object-fit: cover; border-radius: 28px; }
.mx-story-img-small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  height: 230px;
  object-fit: cover;
  border-radius: 22px;
  border: 8px solid var(--mx-light);
}
.mx-story-badge {
  position: absolute;
  left: 30px;
  bottom: 90px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px 16px 16px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 20px 40px rgba(2, 15, 68, 0.18);
}
.mx-story-badge img { width: 48px; }
.mx-story-badge strong {
  display: block;
  font-family: var(--tp-ff-teko);
  font-size: 40px;
  line-height: 0.9;
  color: var(--mx-navy);
}
.mx-story-badge span { font-size: 14px; color: var(--mx-muted); }
.mx-story-content { padding-left: 30px; }
.mx-story-content p { font-size: 16px; line-height: 1.8; color: var(--mx-muted); }
.mx-story-content p.mx-lead { font-size: 20px; line-height: 1.6; color: var(--mx-navy); font-weight: 500; }

/* mission / vision / approach */
.mx-mission-card {
  height: 100%;
  padding: 45px 40px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(4, 29, 119, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.mx-mission-card:hover { transform: translateY(-6px); box-shadow: 0 25px 50px rgba(4, 29, 119, 0.12); }
.mx-mission-card.is-featured { background: var(--mx-navy); border-color: var(--mx-navy); }
.mx-mission-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-content: center;
  margin-bottom: 30px;
  color: var(--mx-navy);
  background: rgba(4, 29, 119, 0.1);
}
.mx-mission-card.is-featured .mx-mission-icon { color: var(--mx-navy-deep); background: var(--mx-cyan-grad); }
.mx-mission-title {
  font-family: var(--tp-ff-teko);
  font-size: 38px;
  font-weight: 500;
  line-height: 1;
  color: var(--mx-navy);
  margin-bottom: 15px;
}
.mx-mission-card p { font-size: 16px; line-height: 1.75; color: var(--mx-muted); margin-bottom: 0; }
.mx-mission-card.is-featured .mx-mission-title { color: #fff; }
.mx-mission-card.is-featured p { color: rgba(243, 245, 255, 0.8); }

/* expertise list */
.mx-section-text { font-size: 17px; line-height: 1.7; color: var(--mx-muted); margin-bottom: 0; }
.mx-expertise-item {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
  padding: 20px 22px;
  border-radius: 18px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--mx-navy);
  background: #fff;
  border: 1px solid rgba(4, 29, 119, 0.08);
  transition: all 0.3s ease;
}
.mx-expertise-icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-content: center;
  color: #fff;
  background: var(--mx-navy);
  transition: all 0.3s ease;
}
.mx-expertise-item:hover { color: var(--mx-navy); border-color: var(--mx-royal); transform: translateY(-4px); box-shadow: 0 16px 30px rgba(4, 29, 119, 0.1); }
.mx-expertise-item:hover .mx-expertise-icon { color: var(--mx-navy-deep); background: var(--mx-cyan-grad); }

/* belief quote */
.mx-belief-area { position: relative; overflow: hidden; padding: 150px 0; background: var(--mx-navy-deep); }
.mx-belief-bg { position: absolute; inset: -15% 0; }
.mx-belief-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.18; }
.mx-belief-area::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 15, 68, 0.6), rgba(2, 15, 68, 0.9));
}
.mx-belief-area .container { z-index: 1; }
.mx-belief-mark {
  display: block;
  font-family: var(--tp-ff-teko);
  font-size: 180px;
  line-height: 0.6;
  height: 70px;
  color: var(--mx-cyan);
}
.mx-belief-text {
  font-family: var(--tp-ff-teko);
  font-size: 72px;
  font-weight: 500;
  line-height: 1;
  color: #fff;
  margin-bottom: 30px;
}
.mx-belief-text span { color: var(--mx-cyan); }
.mx-belief-author { font-size: 15px; letter-spacing: 2px; text-transform: uppercase; color: rgba(243, 245, 255, 0.6); margin: 0; }

/* who we serve */
.mx-serve-card { position: relative; height: 440px; overflow: hidden; border-radius: 24px; }
.mx-serve-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.mx-serve-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 15, 68, 0) 30%, rgba(2, 15, 68, 0.92) 100%);
}
.mx-serve-card:hover img { transform: scale(1.06); }
.mx-serve-content { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 35px; }
.mx-serve-content span { font-size: 14px; font-weight: 600; letter-spacing: 1px; color: var(--mx-cyan); }
.mx-serve-content h3 {
  font-family: var(--tp-ff-teko);
  font-size: 42px;
  font-weight: 500;
  line-height: 1;
  color: #fff;
  margin: 6px 0 10px;
}
.mx-serve-content p { font-size: 15px; line-height: 1.6; color: rgba(243, 245, 255, 0.8); margin: 0; }

/* cta */
.mx-cta-box {
  position: relative;
  overflow: hidden;
  padding: 70px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 90% 10%, rgba(72, 182, 21, 0.3), transparent 45%),
    linear-gradient(135deg, var(--mx-navy-deep), var(--mx-navy));
}
.mx-cta-title {
  font-family: var(--tp-ff-teko);
  font-size: 70px;
  font-weight: 600;
  line-height: 0.95;
  color: #fff;
  margin-bottom: 15px;
}
.mx-cta-title span { color: var(--mx-cyan); }
.mx-cta-text { font-size: 17px; line-height: 1.7; color: rgba(243, 245, 255, 0.75); margin-bottom: 0; }

@media (max-width: 1199px) {
  .crp-hero-title.mx-page-title { font-size: 100px; }
  .mx-belief-text { font-size: 56px; }
  .mx-story-content { padding-left: 0; margin-top: 60px; }
}
@media (max-width: 991px) {
  .mx-breadcrumb { justify-content: flex-start; margin-top: 30px; }
  .mx-cta-box { padding: 50px 40px; }
  .mx-cta-box .mx-hero-btns { margin-top: 30px; }
}
@media (max-width: 767px) {
  .mx-page-hero .container { padding-top: 160px; padding-bottom: 80px; }
  .crp-hero-title.mx-page-title { font-size: 70px; }
  .mx-story-media { padding: 0; }
  .mx-story-img-main { height: 340px; }
  .mx-story-badge { left: 16px; bottom: 16px; }
  .mx-belief-area { padding: 100px 0; }
  .mx-belief-text { font-size: 40px; }
  .mx-serve-card { height: 360px; }
  .mx-cta-box { padding: 40px 24px; }
  .mx-cta-title { font-size: 48px; }
}

/*----------------------------------------*/
/*  About page (agntix "about us" layout) re-coloured to MAXBLO
/*----------------------------------------*/
.mx-about-page {
  --tp-common-red-3: var(--mx-royal);
  --tp-common-red-2: var(--mx-royal);
  --tp-theme-pink: var(--mx-navy);
  --tp-theme-yellow: #1E9BD7;
  --tp-common-black-3: var(--mx-navy-deep);
  --tp-common-black-2: var(--mx-navy-mid);
}

/* hero */
.mx-about-page .ar-hero-area { background-color: var(--mx-light); }
.mx-about-page .ar-about-us-4-title { color: var(--mx-navy); }
.mx-about-page .ar-about-us-4-title span { color: var(--mx-royal); }
.mx-about-page .ar-about-us-4-title-box p { color: var(--mx-muted); }
.mx-about-page .tp-section-subtitle { color: var(--mx-navy); }
.mx-spin-icon { width: 90px; }

/* big scrolling "About MAXBLO" text */
.mx-about-page .ar-about-us-4-text-warp.title-black-color .ar-about-us-4-text-title { color: var(--mx-navy); }

/* who we are */
.mx-about-shape { width: 110px; opacity: 0.9; }
.mx-about-page .tp-about-text p { color: var(--mx-navy); }
.mx-about-page .tp-about-thumb img { height: 520px; object-fit: cover; }
.mx-about-logo { width: 190px; height: auto; }
.mx-about-page .tp-about-avater-info p { color: var(--mx-muted); }
.mx-about-page .tp-about-funcact-item span { color: var(--mx-navy); }
.mx-about-page .tp-about-funcact-item p { color: var(--mx-muted); }

/* services list */
.mx-about-page .creative-service-subtitle-box .tp-section-subtitle,
.mx-about-page .creative-service-title-box .tp-section-title { color: var(--mx-navy); }
.mx-about-page .creative-service-subtitle-box .tp-section-subtitle.fs-17.pre-circle::before { background-color: var(--mx-royal); }
.mx-about-page .creative-service-top-content p { color: var(--mx-muted); }
.mx-about-page .creative-service-item.about-us-4 { border-color: rgba(4, 29, 119, 0.1); }
.mx-about-page .creative-service-item.about-us-4 .creative-service-title a { background: linear-gradient(var(--mx-royal), var(--mx-royal)) left no-repeat, var(--mx-navy); -webkit-background-clip: text; background-clip: text; background-size: 0% 100%; }
.mx-about-page .creative-service-item.about-us-4:hover .creative-service-title a { background-size: 100% 100%; }
.mx-about-page .creative-service-item.about-us-4 .creative-service-content > span,
.mx-about-page .creative-service-item.about-us-4 .creative-service-category span { color: var(--mx-navy); }
.mx-about-page .creative-service-item.about-us-4 .creative-service-category span::before { background-color: var(--mx-navy); }
.mx-about-page .creative-service-item.about-us-4 .creative-service-link a { color: var(--mx-navy); border-color: rgba(4, 29, 119, 0.15); }
.mx-about-page .creative-service-item.about-us-4:hover .creative-service-link a { color: #fff; background-color: var(--mx-royal); border-color: var(--mx-royal); }

/* fun facts: real photos in the round tiles, logo mark instead of orange badge */
.tp-funfact-img.mx-photo img { object-fit: cover; }
.tp-funfact-big-img.mx-big-icon img { width: 100%; max-width: 300px; }
.mx-about-page .tp-funfact-subtitle,
.mx-about-page .tp-funfact-title { color: var(--mx-navy); }
.mx-about-page .tp-funfact-number span i { -webkit-text-stroke-color: var(--mx-light); }

/* how we work */
.mx-about-page .tp-work-title-box .tp-section-title,
.mx-about-page .tp-work-title { color: var(--mx-navy); }
.mx-about-page .tp-work-item { background-color: #fff; border-color: var(--mx-light); }
.mx-about-page .tp-work-content p { color: var(--mx-muted); }

/* what we deliver slider */
.mx-about-page .tp-team-item-thumb::after { background: linear-gradient(180deg, rgba(2, 15, 68, 0) 0%, var(--mx-navy-deep) 150%); }
.mx-about-page .studio-team-title-sm a,
.mx-about-page .studio-team-content span { color: #fff; }

/* who we serve list */
.mx-about-page .tp-award-subtitle { color: var(--mx-cyan); }
.mx-about-page .tp-award-position { color: rgba(220, 227, 255, 0.65); }

/* about page has a light hero: use the navy logo and navy menu from the start */
.mx-about-page .tp-header-9-logo .logo-1 { display: none; }
.mx-about-page .tp-header-9-logo .logo-2 { display: block !important; }
.mx-about-page .tp-header-9-menu > nav > ul { background: #fff; border-color: rgba(4, 29, 119, 0.08); box-shadow: 0 10px 30px rgba(4, 29, 119, 0.06); }
.mx-about-page .tp-header-9-menu > nav > ul > li > a { color: var(--mx-navy); }
.mx-about-page .tp-header-9-menu > nav > ul > li > a:hover,
.mx-about-page .tp-header-9-menu > nav > ul > li.mx-active > a { color: var(--mx-royal); background-color: rgba(4, 29, 119, 0.06); }
.mx-about-page .tp-header-9-btn .tp-btn-yellow-green { color: #fff; background-color: var(--mx-navy); }
.mx-about-page .tp-header-bar button i { background-color: var(--mx-navy); }

/* 12 services instead of the template's 3: smaller titles keep the list scannable */
.mx-about-page .creative-service-item.about-us-4 .creative-service-title { font-size: 64px; line-height: 1; }
@media (max-width: 1199px) { .mx-about-page .creative-service-item.about-us-4 .creative-service-title { font-size: 52px; } }
@media (max-width: 767px) { .mx-about-page .creative-service-item.about-us-4 .creative-service-title { font-size: 36px; } }

/*---------- services dropdown (all pages) ----------*/
.tp-header-9-menu.tp-header-dropdown nav ul li .tp-submenu { width: 300px; }
.tp-header-9-menu.tp-header-dropdown nav ul li .tp-submenu li a { color: var(--mx-navy); }
.tp-header-9-menu.tp-header-dropdown nav ul li .tp-submenu li a:hover { color: var(--mx-royal); background-color: rgba(4, 29, 119, 0.06); }

/*---------- footer services column ----------*/
.mx-footer-services ul li:not(:last-child) { margin-bottom: 8px; }
.mx-footer-services ul li a { font-size: 15px; line-height: 1.35; }

/*----------------------------------------*/
/*  Service detail pages (service-*.html)
/*----------------------------------------*/
.mx-service-page .mx-service-hero { background-color: var(--mx-light); }
.mx-service-page .tp-career-shape-1 { position: absolute; top: 30%; right: 14%; }
.mx-service-page .tp-career-title { color: var(--mx-navy); }
.mx-service-page .tp-career-title > span:not(.shape-1) { color: var(--mx-royal); }
.mx-service-page .tp-career-title .shape-1 img { width: 0.62em; height: 0.62em; vertical-align: middle; }
.mx-service-crumb { font-size: 15px; color: var(--mx-muted); }
.mx-service-crumb a { color: var(--mx-navy); }
.mx-service-crumb a:hover { color: var(--mx-royal); }
.mx-service-crumb span { margin: 0 6px; }
.mx-service-crumb [aria-current] { margin: 0; color: var(--mx-royal); }
.mx-service-page .tp-service-5-text p { color: var(--mx-muted); }
.mx-service-page .tp-service-5-list ul li { color: var(--mx-navy); }

/* process */
.mx-service-page .tp-service-4-process-list span { color: var(--mx-navy); border-color: rgba(4, 29, 119, 0.15); background: #fff; }
.mx-service-page .tp-service-4-process-list:not(:last-child) span::before { background-color: rgba(4, 29, 119, 0.15); }
.mx-service-page .tp-service-4-process-list p { color: var(--mx-navy); }
.mx-service-page .tp-service-4-process-wrapper p { color: var(--mx-muted); }
.mx-process-img { width: 100%; height: 460px; object-fit: cover; border-radius: 20px; }

/* benefits */
.mx-service-page .tp-benefits-heading p { font-size: 18px; line-height: 1.75; color: var(--mx-muted); }

/* feature banner */
.mx-feature-wrap img { width: 100%; height: 100%; object-fit: cover; }
.mx-feature-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(90deg, rgba(2, 15, 68, 0.85) 0%, rgba(2, 15, 68, 0.35) 60%, rgba(2, 15, 68, 0.1) 100%);
  pointer-events: none;
}
.mx-feature-wrap .tp-service-5-feature-content { z-index: 2; }

/* packages */
.mx-service-page .tp-service-5-price-item { border-color: rgba(4, 29, 119, 0.1); }
.mx-service-page .tp-service-5-price-item-title { color: var(--mx-navy); }
.mx-service-page .tp-service-5-price-item-list ul li { color: var(--mx-ink); }
.mx-service-page .tp-service-5-price-item-list ul li span { color: var(--mx-royal); }
.mx-quote-btn {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 28px;
  border-radius: 52px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--mx-navy);
  transition: all 0.3s ease;
}
.mx-quote-btn:hover { color: var(--mx-navy-deep); background: var(--mx-cyan-grad); }

@media (max-width: 991px) {
  .mx-service-page .tp-service-4-process-wrapper { padding-left: 0; margin-top: 40px; }
  .mx-service-page .tp-service-4-process-wrapper p.pl-200 { padding-left: 0; }
  .mx-quote-btn { margin-top: 20px; }
}
@media (max-width: 767px) {
  .mx-process-img { height: 280px; }
}

/*----------------------------------------*/
/*  Contact page
/*----------------------------------------*/
.mx-contact-page .mx-contact-hero { background-color: var(--mx-light); }
.mx-contact-page .tp-career-title { color: var(--mx-navy); }
.mx-contact-page .tp-career-title .mx-accent { color: var(--mx-royal); }
.mx-contact-page .tp-career-title .shape-1 img { width: 0.62em; height: 0.62em; vertical-align: middle; }
.mx-contact-page .tp-faq-text p { color: var(--mx-muted); }
.mx-contact-page .tp-contact-us-text p { color: var(--mx-muted); }
.mx-contact-page .tp-contact-us-text a:hover p { color: var(--mx-navy); }

/* form panel */
.mx-contact-page .tp-contact-us-form-wrapper { background: #fff; border: 1px solid rgba(4, 29, 119, 0.08); }
.mx-contact-page .tp-contact-us-title,
.mx-contact-page .tp-contact-us-wrap .tp-contact-form-input label { color: var(--mx-navy); }
.mx-contact-page .tp-contact-us-wrap .tp-contact-form-input input,
.mx-contact-page .tp-contact-us-wrap .tp-contact-form-input textarea,
.mx-contact-page .mx-select {
  width: 100%;
  height: 56px;
  padding: 0 20px;
  border-radius: 10px;
  font-size: 16px;
  color: var(--mx-ink);
  background: var(--mx-light);
  border: 1px solid rgba(4, 29, 119, 0.1);
  outline: none;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.mx-contact-page .tp-contact-us-wrap .tp-contact-form-input textarea { height: 150px; padding-top: 16px; resize: vertical; }
.mx-contact-page .mx-select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23232F84' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 20px center; }
.mx-contact-page .tp-contact-us-wrap .tp-contact-form-input input:focus,
.mx-contact-page .tp-contact-us-wrap .tp-contact-form-input textarea:focus,
.mx-contact-page .mx-select:focus { background-color: #fff; border-color: var(--mx-royal); }
.mx-contact-page .tp-contact-form-btn button { background-color: var(--mx-navy); }
.mx-contact-page .tp-contact-form-btn button:hover { background-color: var(--mx-royal); }
.mx-form-status { min-height: 24px; margin-bottom: 0; font-size: 15px; color: #1A9E55; }
.mx-form-status.is-error { color: #D93B3B; }

/* support text + contact cards */
.mx-contact-page .cn-contactform-support-text span { color: var(--mx-navy); }
.mx-contact-page .tp-contact-us-content { background: #fff; border: 1px solid rgba(4, 29, 119, 0.08); }
.mx-contact-page .tp-contact-us-thumb img { width: 100%; height: 260px; object-fit: cover; }
.mx-contact-page .tp-contact-us-info-title { color: var(--mx-navy); border-bottom-color: rgba(4, 29, 119, 0.1); }
.mx-contact-page .tp-contact-us-info-details a { display: block; color: var(--mx-muted); }
.mx-contact-page .tp-contact-us-info-details a:hover { color: var(--mx-royal); }
.mx-contact-page .tp-contact-us-btn .tp-btn-yellow-green { color: var(--mx-navy); background-color: transparent; border-color: rgba(4, 29, 119, 0.2); }
.mx-contact-page .tp-contact-us-btn .tp-btn-yellow-green:hover { color: #fff; background-color: var(--mx-navy); }
.mx-contact-page .tp-contact-us-btn .tp-btn-yellow-green.active { color: #fff; background-color: #25D366; border-color: #25D366; }
/* light-mode template inverts this doodle (blue -> gold); keep it brand blue and clear of the headline */
.mx-contact-page .tp-career-shape-1 { filter: none; top: 16%; right: 7%; }

/*---------- blue logo on dark backgrounds: white chip keeps it readable ----------*/
.tp-header-9-logo .logo-1,
.crp-footer-logo img {
  background: #fff;
  padding: 8px 14px;
  border-radius: 12px;
  box-sizing: content-box;
}
.tp-header-9-logo .logo-1 { width: 108px; padding: 6px 12px; }

/*---------- header: menu centred across the full header width (desktop) ----------*/
@media (min-width: 1200px) {
  .tp-header-9-area .container > .row { position: relative; }
  .tp-header-9-area .tp-header-9-menu {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .tp-header-9-area .tp-header-9-box { justify-content: flex-end !important; }
}

/*----------------------------------------*/
/*  Header: consistent side spacing + clean compact bar after scrolling
/*----------------------------------------*/
@media (min-width: 1200px) {
  .tp-header-9-area .container-1750 { padding-left: 40px; padding-right: 40px; }
}

/* scrolled state (main.js adds .header-sticky after 20px) */
.tp-header-9-area.header-sticky {
  margin-top: 0;
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(4, 29, 119, 0.08);
  box-shadow: 0 8px 30px rgba(2, 15, 68, 0.08);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.tp-header-9-area.header-sticky::after { display: none; }

/* logo: navy version, no white chip, slightly smaller */
.tp-header-9-area.header-sticky .tp-header-9-logo .logo-1 { display: none !important; }
.tp-header-9-area.header-sticky .tp-header-9-logo .logo-2 { display: block !important; width: 120px; }

/* menu: flat links, no floating pill */
.tp-header-9-area.header-sticky .tp-header-9-menu > nav > ul {
  padding: 0;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
.tp-header-9-area.header-sticky .tp-header-9-menu > nav > ul > li { padding: 4px 2px; }
.tp-header-9-area.header-sticky .tp-header-9-menu > nav > ul > li > a { padding: 10px 20px; color: var(--mx-navy); }
.tp-header-9-area.header-sticky .tp-header-9-menu > nav > ul > li > a:hover,
.tp-header-9-area.header-sticky .tp-header-9-menu > nav > ul > li.mx-active > a { color: var(--mx-royal); background-color: rgba(4, 29, 119, 0.07); }

/* button + mobile toggle */
.tp-header-9-area.header-sticky .tp-header-9-btn .tp-btn-yellow-green {
  padding: 13px 22px;
  color: #fff;
  background-color: var(--mx-navy);
}
.tp-header-9-area.header-sticky .tp-header-9-btn .tp-btn-yellow-green:hover { background-color: var(--mx-royal); }
.tp-header-9-area.header-sticky .tp-header-bar button i { background-color: var(--mx-navy); }

/*==========================================================================
  POLISH PASS: responsive fixes + modern touches (keep this block last)
==========================================================================*/

/*---------- 1. Responsive spacing (the template's spacing helpers have no phone rules) ----------*/
@media (max-width: 991px) {
  main .pt-200 { padding-top: 120px; }
  main .pt-190, main .pt-160, main .pt-150, main .pt-145, main .pt-140 { padding-top: 90px; }
  main .pt-120, main .pt-110, main .pt-100 { padding-top: 70px; }
  main .pb-160, main .pb-150, main .pb-145, main .pb-140 { padding-bottom: 80px; }
  main .pb-120, main .pb-110, main .pb-100 { padding-bottom: 64px; }
  main .mb-200, main .mb-160, main .mb-150, main .mb-145, main .mb-140 { margin-bottom: 80px; }
  main .mb-120, main .mb-110, main .mb-100 { margin-bottom: 64px; }
  main .mb-85, main .mb-80 { margin-bottom: 48px; }
  main .mb-75, main .mb-70 { margin-bottom: 40px; }
}
@media (max-width: 575px) {
  main .pt-200 { padding-top: 96px; }
  main .pt-190, main .pt-160, main .pt-150, main .pt-145, main .pt-140 { padding-top: 64px; }
  main .pt-120, main .pt-110, main .pt-100 { padding-top: 56px; }
  main .pb-160, main .pb-150, main .pb-145, main .pb-140 { padding-bottom: 60px; }
  main .pb-120, main .pb-110, main .pb-100 { padding-bottom: 52px; }
  main .mb-200, main .mb-160, main .mb-150, main .mb-145, main .mb-140 { margin-bottom: 60px; }
  main .mb-120, main .mb-110, main .mb-100 { margin-bottom: 48px; }
  /* header sits on top of these heroes, keep clearance for it */
  main .ar-hero-area.pt-190 { padding-top: 120px; }
}

/*---------- 2. About hero title no longer runs off small screens ----------*/
@media (max-width: 575px) {
  .mx-about-page .ar-about-us-4-title { font-size: clamp(32px, 10.2vw, 56px); letter-spacing: -1px; overflow-wrap: anywhere; }
  .mx-about-page .ar-about-us-4-hero-ptb { padding-top: 120px; }
}

/*---------- 3. Phone footer: tighter, quieter ----------*/
@media (max-width: 767px) {
  .crp-footer-area.pt-120 { padding-top: 64px; }
  .crp-footer-widget.mb-90 { margin-bottom: 34px; }
  .crp-footer-widget-title { margin-bottom: 16px; }
  .crp-copyright-text.pt-40 { padding-top: 24px; }
}

/*---------- 4. Phone: services become a compact two-column grid (page is far shorter) ----------*/
@media (max-width: 575px) {
  .mx-service-area .row.gy-4 { --bs-gutter-x: 0.75rem; --bs-gutter-y: 0.75rem; }
  .mx-service-area .row.gy-4 > [class*="col-"] { width: 50%; }
  .mx-service-card { border-radius: 18px; }
  .mx-service-thumb { height: 100px; }
  .mx-service-num { top: 9px; left: 10px; padding: 1px 8px; font-size: 11px; }
  .mx-service-body { padding: 30px 13px 16px; }
  .mx-service-icon { width: 42px; height: 42px; top: -21px; left: 13px; border-width: 3px; }
  .mx-service-icon svg { width: 19px; height: 19px; }
  .mx-service-title { font-size: 21px; line-height: 1.05; margin-bottom: 0; }
  .mx-service-body p { display: none; }
}
/*---------- 5. Hero: slow drifting glow (pure CSS) ----------*/
.crp-hero-area.mx-hero::before,
.crp-hero-area.mx-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}
.crp-hero-area.mx-hero::before {
  width: 560px; height: 560px; right: -140px; top: -160px;
  background: radial-gradient(circle, rgba(72, 182, 21, 0.28), transparent 66%);
  animation: mx-drift 20s ease-in-out infinite alternate;
}
.crp-hero-area.mx-hero::after {
  width: 680px; height: 680px; left: -200px; bottom: -260px;
  background: radial-gradient(circle, rgba(4, 29, 119, 0.38), transparent 66%);
  animation: mx-drift 26s ease-in-out infinite alternate-reverse;
}
@keyframes mx-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-70px, 60px, 0) scale(1.12); }
}

/*---------- 6. Branded loader instead of two generic pulsing circles ----------*/
#preloader { background: var(--mx-navy-deep); }
#preloader .preloader { width: 92px; height: 92px; margin: -46px 0 0 -46px; }
#preloader .preloader span { display: none; }
#preloader .preloader::before {
  content: "";
  position: absolute;
  inset: 14px;
  background: url("../used/logos/SVG%20FILE/maxblo%20icon1.svg") center / contain no-repeat;
  animation: mx-loader-pulse 1.6s ease-in-out infinite;
}
#preloader .preloader::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--mx-cyan);
  animation: mx-loader-spin 1s linear infinite;
}
@keyframes mx-loader-spin { to { transform: rotate(360deg); } }
@keyframes mx-loader-pulse { 0%, 100% { transform: scale(0.94); } 50% { transform: scale(1.04); } }

/*---------- 7. Thin scroll-progress line ----------*/
.mx-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  z-index: 10001;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--mx-royal), var(--mx-cyan));
  pointer-events: none;
}

/*---------- 8. FAQ (homepage) ----------*/
.mx-faq-area { background: var(--mx-light); }
.mx-faq-intro p { font-size: 17px; line-height: 1.7; color: var(--mx-muted); max-width: 420px; margin: 20px 0 30px; }
.mx-faq-list { border-top: 1px solid rgba(4, 29, 119, 0.12); }
.mx-faq-item { border-bottom: 1px solid rgba(4, 29, 119, 0.12); }
.mx-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--tp-ff-teko);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--mx-navy);
  transition: color 0.25s ease;
}
.mx-faq-item summary::-webkit-details-marker { display: none; }
.mx-faq-item summary::after {
  content: "";
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(4, 29, 119, 0.2);
  background:
    linear-gradient(var(--mx-navy), var(--mx-navy)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--mx-navy), var(--mx-navy)) center / 1.5px 12px no-repeat;
  transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}
.mx-faq-item summary:hover { color: var(--mx-royal); }
.mx-faq-item[open] summary::after {
  transform: rotate(45deg);
  border-color: var(--mx-royal);
  background-color: rgba(4, 29, 119, 0.08);
}
.mx-faq-item summary:focus-visible { outline: 2px solid var(--mx-royal); outline-offset: 4px; border-radius: 6px; }
.mx-faq-item p {
  max-width: 680px;
  padding: 0 56px 26px 0;
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--mx-muted);
  animation: mx-faq-in 0.35s ease both;
}
.mx-faq-item p a { color: var(--mx-royal); font-weight: 600; }
@keyframes mx-faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 991px) {
  .mx-faq-intro { margin-bottom: 36px; }
  .mx-faq-intro p { max-width: none; }
}
@media (max-width: 575px) {
  .mx-faq-item summary { font-size: 24px; padding: 20px 0; }
  .mx-faq-item p { padding-right: 0; font-size: 15px; }
}

/*---------- 9. Reduced motion: respect the visitor's setting ----------*/
@media (prefers-reduced-motion: reduce) {
  .crp-hero-area.mx-hero::before,
  .crp-hero-area.mx-hero::after,
  #preloader .preloader::before,
  #preloader .preloader::after,
  .mx-faq-item p { animation: none !important; }
}

/*---------- fun-fact photo tiles stay perfect circles at every width ----------*/
.tp-funfact-img img { aspect-ratio: 1 / 1; height: auto; object-fit: cover; border-radius: 50%; }
@media (min-width: 992px) { .tp-funfact-img img { width: 144px; height: 144px; } }
@media (max-width: 991px) { .tp-funfact-img img { width: 100%; max-width: 144px; margin: 0 auto; display: block; } }

/*---------- header and homepage hero share one container, so their edges always line up ----------*/
@media (min-width: 1200px) {
  .tp-header-9-area .container.container-1750,
  .mx-hero .container.container-1550 {
    width: 100%;
    max-width: 1750px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 40px;
    padding-right: 40px;
  }
}
@media (min-width: 1400px) { .crp-hero-funfact-wrap.mx-funfact { margin-left: auto; } }
/* card fills its column (max 340px) so its right edge lines up with the header button */
@media (min-width: 1200px) {
  .crp-hero-funfact-wrap.mx-funfact { width: auto; max-width: 340px; margin-left: auto; }
}

/*---------- compact header ----------*/
.tp-header-9-area.tp-header-9-mt { margin-top: 12px; }
.tp-header-9-logo .logo-1 { width: 92px; padding: 5px 10px; }
.tp-header-9-area.header-sticky { padding: 6px 0; }
.tp-header-9-area.header-sticky .tp-header-9-logo .logo-2 { width: 108px; }
.tp-header-9-area.header-sticky .tp-header-9-menu > nav > ul > li { padding: 2px 2px; }
.tp-header-9-area.header-sticky .tp-header-9-menu > nav > ul > li > a { padding: 8px 18px; }

/*==========================================================================
  ABOUT PAGE: new sections + alignment polish (desktop and phone)
==========================================================================*/
.mx-sec-head { max-width: 760px; margin: 0 auto 56px; }
.mx-sec-head-row { margin-bottom: 56px; }
.mx-sec-title {
  margin: 16px 0 0;
  font-family: var(--tp-ff-teko);
  font-size: clamp(40px, 5.2vw, 76px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.5px;
  color: var(--mx-navy);
}
.mx-sec-title span { color: var(--mx-royal); }
.mx-sec-lead { margin: 0; font-size: 18px; line-height: 1.7; color: var(--mx-muted); }

/* mission & vision */
.mx-mv-area { padding: 120px 0 40px; background: var(--mx-light); }
.mx-mv-card {
  position: relative;
  height: 100%;
  padding: 48px 44px;
  border-radius: 28px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.mx-mv-card:hover { transform: translateY(-6px); }
.mx-mv-card::after {
  content: "";
  position: absolute;
  right: -70px; bottom: -70px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1, 105, 248, 0.16), transparent 70%);
  pointer-events: none;
}
.mx-mv-card--light { background: #fff; border: 1px solid rgba(4, 29, 119, 0.08); box-shadow: 0 20px 50px rgba(4, 29, 119, 0.07); }
.mx-mv-card--light:hover { box-shadow: 0 28px 60px rgba(4, 29, 119, 0.13); }
.mx-mv-card--dark { background: linear-gradient(135deg, var(--mx-navy) 0%, var(--mx-navy-deep) 100%); color: #fff; box-shadow: 0 20px 50px rgba(2, 15, 68, 0.25); }
.mx-mv-card--dark::after { background: radial-gradient(circle, rgba(72, 182, 21, 0.28), transparent 70%); }
.mx-mv-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; margin-bottom: 28px;
  border-radius: 20px;
  color: var(--mx-royal);
  background: rgba(1, 105, 248, 0.1);
}
.mx-mv-card--dark .mx-mv-icon { color: var(--mx-cyan); background: rgba(255, 255, 255, 0.1); }
.mx-mv-card h3 { margin: 0 0 14px; font-family: var(--tp-ff-teko); font-size: 44px; font-weight: 500; line-height: 1; color: var(--mx-navy); }
.mx-mv-card--dark h3 { color: #fff; }
.mx-mv-card p { position: relative; z-index: 1; margin: 0; font-size: 17px; line-height: 1.75; color: var(--mx-muted); }
.mx-mv-card--dark p { color: rgba(220, 227, 255, 0.82); }

/* values */
.mx-values-area { padding: 100px 0 130px; background: var(--mx-light); }
.mx-value-card {
  position: relative;
  height: 100%;
  padding: 38px 32px 34px;
  background: #fff;
  border: 1px solid rgba(4, 29, 119, 0.08);
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.mx-value-card::before {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--mx-royal), var(--mx-cyan));
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 0.45s ease;
}
.mx-value-card:hover { transform: translateY(-8px); border-color: transparent; box-shadow: 0 26px 56px rgba(4, 29, 119, 0.14); }
.mx-value-card:hover::before { transform: scaleX(1); }
.mx-value-num {
  position: absolute; top: 22px; right: 28px;
  font-family: var(--tp-ff-teko); font-size: 54px; line-height: 1;
  color: rgba(4, 29, 119, 0.07);
  transition: color 0.35s ease;
}
.mx-value-card:hover .mx-value-num { color: rgba(1, 105, 248, 0.2); }
.mx-value-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; margin-bottom: 24px;
  border-radius: 18px;
  color: var(--mx-royal);
  background: rgba(1, 105, 248, 0.1);
  transition: background-color 0.35s ease, color 0.35s ease, transform 0.35s ease;
}
.mx-value-card:hover .mx-value-icon { color: #fff; background: var(--mx-royal); transform: rotate(-6deg) scale(1.06); }
.mx-value-card h4 { margin: 0 0 10px; font-family: var(--tp-ff-teko); font-size: 34px; font-weight: 500; line-height: 1.05; color: var(--mx-navy); }
.mx-value-card p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--mx-muted); }

/* call to action */
.mx-cta-area { padding: 0 0 110px; background: var(--mx-navy-mid); }
.mx-cta-box {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 64px 68px;
  border-radius: 32px;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 10%, rgba(72, 182, 21, 0.28), transparent 45%),
    linear-gradient(135deg, var(--mx-royal) 0%, var(--mx-navy) 60%, var(--mx-navy-deep) 100%);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}
.mx-cta-mark { position: absolute; right: -40px; top: 50%; width: 360px; opacity: 0.09; transform: translateY(-50%); pointer-events: none; }
.mx-cta-text { position: relative; max-width: 640px; }
.mx-cta-eyebrow { display: inline-block; margin-bottom: 14px; font-size: 14px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--mx-cyan); }
.mx-cta-text h2 { margin: 0 0 16px; font-family: var(--tp-ff-teko); font-size: clamp(38px, 4.6vw, 68px); font-weight: 500; line-height: 1; color: #fff; }
.mx-cta-text h2 span { color: var(--mx-cyan); }
.mx-cta-text p { margin: 0; font-size: 18px; line-height: 1.65; color: rgba(220, 227, 255, 0.82); }
.mx-cta-actions { position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 230px; }
.mx-cta-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 17px 32px;
  border-radius: 100px;
  font-size: 16px; font-weight: 600; line-height: 1;
  text-align: center; white-space: nowrap;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.mx-cta-btn:hover { transform: translateY(-3px); }
.mx-cta-btn--primary { color: var(--mx-navy-deep); background: var(--mx-cyan-grad); }
.mx-cta-btn--primary:hover { color: var(--mx-navy-deep); }
.mx-cta-btn--ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.45); }
.mx-cta-btn--ghost:hover { color: var(--mx-navy-deep); background: #fff; border-color: #fff; }

/* hero: tidy the intro row so it stacks cleanly */
.mx-about-page .ar-about-us-4-title-box p { max-width: 520px; font-size: 18px; line-height: 1.7; }
.mx-about-page .ar-about-us-4-title-box p br { display: none; }
.mx-about-page .ar-about-us-4-shape { pointer-events: none; }

/* who we are: keep the photo and copy aligned */
.mx-about-page .tp-about-wrap .row { align-items: stretch; }
.mx-about-page .tp-about-thumb { height: 100%; }
.mx-about-page .tp-about-thumb img { width: 100%; border-radius: 24px; }

@media (max-width: 1199px) {
  .mx-cta-box { padding: 52px 48px; }
  .mx-mv-card { padding: 40px 34px; }
}
@media (max-width: 991px) {
  .mx-mv-area { padding: 80px 0 24px; }
  .mx-values-area { padding: 70px 0 90px; }
  .mx-sec-head, .mx-sec-head-row { margin-bottom: 40px; }
  .mx-sec-lead { margin-top: 14px; font-size: 17px; }
  .mx-cta-area { padding-bottom: 80px; }
  .mx-cta-box { grid-template-columns: 1fr; gap: 32px; padding: 48px 36px; }
  .mx-cta-actions { flex-direction: row; flex-wrap: wrap; min-width: 0; }
  .mx-cta-mark { width: 260px; right: -60px; }
  .mx-about-page .tp-about-thumb { margin-bottom: 30px; }
  .mx-about-page .tp-about-thumb img { height: 380px; }
  .mx-about-page .tp-section-title.fs-140,
  .mx-about-page .tp-testimonial-title-box .tp-section-title { font-size: clamp(48px, 11vw, 96px); line-height: 1; }
}
@media (max-width: 767px) {
  .mx-about-page .ar-about-us-4-title-box { flex-direction: column; align-items: flex-start; justify-content: flex-start !important; gap: 14px; }
  .mx-about-page .ar-about-us-4-title-box .ar-about-us-4-icon { display: none; }
  .mx-about-page .ar-about-us-4-title-box p { max-width: none; font-size: 16px; }
  .mx-about-page .ar-about-us-4-shape { opacity: 0.8; transform: scale(0.8); transform-origin: top right; }
}
@media (max-width: 575px) {
  .mx-mv-area { padding: 64px 0 16px; }
  .mx-values-area { padding: 56px 0 72px; }
  .mx-mv-card { padding: 32px 24px; border-radius: 22px; }
  .mx-mv-icon { width: 56px; height: 56px; margin-bottom: 20px; }
  .mx-mv-card h3 { font-size: 36px; }
  .mx-mv-card p { font-size: 16px; }
  .mx-value-card { padding: 30px 24px 26px; border-radius: 20px; }
  .mx-value-card h4 { font-size: 30px; }
  .mx-value-num { font-size: 44px; top: 18px; right: 22px; }
  .mx-cta-area { padding-bottom: 60px; }
  .mx-cta-box { padding: 40px 24px; border-radius: 24px; text-align: center; }
  .mx-cta-text p { font-size: 16px; }
  .mx-cta-actions { flex-direction: column; }
  .mx-cta-btn { width: 100%; }
  .mx-about-page .tp-about-thumb img { height: 300px; border-radius: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .mx-mv-card, .mx-value-card, .mx-value-icon, .mx-cta-btn { transition: none; }
}
/*==========================================================================
  ABOUT PAGE: tighter vertical rhythm (less empty space, desktop + phone)
==========================================================================*/
/* hero */
.mx-about-page .ar-about-us-4-hero-ptb { padding-top: 150px; padding-bottom: 50px; }

/* big scrolling "About MAXBLO" text */
.mx-about-page .ar-about-us-4-text-title { font-size: clamp(56px, 11vw, 150px); letter-spacing: -0.04em; line-height: 1; }
.mx-about-page .ar-about-us-4-text-area { padding-bottom: 30px; }

/* team photo banner */
.mx-about-page .ar-banner-wrap.about-us-4 { height: clamp(220px, 40vw, 560px); border-radius: 0; }
.mx-about-page .ar-banner-wrap.about-us-4 img { height: 135%; margin-top: -4%; object-fit: cover; }

/* who we are */
.mx-about-page #about.tp-about-area { padding-top: 90px; padding-bottom: 90px; }
.mx-about-page .tp-about-text p { margin-bottom: 40px; }

/* services list */
.mx-about-page .creative-service-area { padding-top: 90px; padding-bottom: 40px; }
.mx-about-page .creative-service-area .row.mb-80 { margin-bottom: 40px; }
.mx-about-page .creative-service-item.about-us-4 { padding-top: 22px; padding-bottom: 30px; }

/* fun-fact panels */
.mx-about-page .tp-funfact-green-wrap { padding-top: 80px; padding-bottom: 40px; }
.mx-about-page .tp-funfact-number span { font-size: clamp(120px, 20vw, 300px); transform: translateY(-20px); }

/* how we work */
.mx-about-page .tp-work-area { padding-top: 90px; padding-bottom: 90px; }
.mx-about-page .tp-work-item { padding: 34px 34px 34px 40px; }
.mx-about-page .tp-work-number { margin-bottom: 26px; }

/* dark slider + who we serve */
.mx-about-page .tp-team-bg { padding-top: 100px; padding-bottom: 110px; }
.mx-about-page .tp-testimonial-title-box.mb-75 { margin-bottom: 40px; }
.mx-about-page .tp-award-bg { padding-bottom: 90px; }

/* new sections */
.mx-mv-area { padding: 90px 0 20px; }
.mx-values-area { padding: 60px 0 90px; }
.mx-sec-head, .mx-sec-head-row { margin-bottom: 40px; }
.mx-mv-card { padding: 40px 38px; }
.mx-cta-area { padding-bottom: 70px; }
.mx-cta-box { padding: 52px 60px; }

@media (max-width: 1199px) {
  .mx-about-page .tp-about-wrap { margin-left: 0; }
  .mx-about-page .tp-work-wrapper { margin-left: 0; }
  .mx-about-page .tp-work-item { padding: 30px 28px; }
  .mx-about-page .creative-service-item.about-us-4 { margin-left: 0; }
}
@media (max-width: 991px) {
  .mx-about-page .ar-about-us-4-hero-ptb { padding-top: 130px; padding-bottom: 30px; }
  .mx-about-page .ar-about-us-4-text-area { padding-bottom: 20px; }
  .mx-about-page #about.tp-about-area,
  .mx-about-page .tp-work-area { padding-top: 60px; padding-bottom: 60px; }
  .mx-about-page .creative-service-area { padding-top: 60px; padding-bottom: 20px; }
  .mx-about-page .creative-service-area .row.mb-80 { margin-bottom: 28px; }
  .mx-about-page .creative-service-top-content { margin-top: 16px; }
  .mx-about-page .tp-about-text p { margin-right: 0; margin-bottom: 28px; }
  .mx-about-page .tp-funfact-green-wrap { padding-top: 50px; padding-bottom: 20px; }
  .mx-about-page .tp-funfact-content-wrap { margin-bottom: 10px; }
  .mx-about-page .tp-team-bg { padding-top: 64px; padding-bottom: 70px; }
  .mx-about-page .tp-award-bg { padding-bottom: 60px; }
  .mx-mv-area { padding: 60px 0 16px; }
  .mx-values-area { padding: 44px 0 60px; }
  .mx-cta-area { padding-bottom: 56px; }
  .mx-cta-box { padding: 40px 30px; }
}
@media (max-width: 575px) {
  .mx-about-page .ar-about-us-4-hero-ptb { padding-top: 110px; padding-bottom: 16px; }
  .mx-about-page .ar-about-us-4-text-area { padding-bottom: 10px; }
  .mx-about-page .ar-banner-wrap.about-us-4 { height: 200px; }
  .mx-about-page #about.tp-about-area,
  .mx-about-page .tp-work-area { padding-top: 44px; padding-bottom: 44px; }
  .mx-about-page .creative-service-area { padding-top: 44px; padding-bottom: 10px; }
  .mx-about-page .creative-service-item.about-us-4 { padding-top: 16px; padding-bottom: 20px; }
  .mx-about-page .tp-work-item { padding: 24px 20px; }
  .mx-about-page .tp-work-number { margin-bottom: 18px; }
  .mx-about-page .tp-funfact-green-wrap { padding-top: 36px; padding-bottom: 8px; }
  .mx-about-page .tp-funfact-number span { font-size: 96px; }
  .mx-about-page .tp-team-bg { padding-top: 48px; padding-bottom: 50px; }
  .mx-about-page .tp-testimonial-title-box.mb-75 { margin-bottom: 24px; }
  .mx-about-page .tp-award-bg { padding-bottom: 44px; }
  .mx-about-page .tp-award-item { padding: 22px 18px; }
  .mx-mv-area { padding: 44px 0 10px; }
  .mx-values-area { padding: 34px 0 44px; }
  .mx-sec-head, .mx-sec-head-row { margin-bottom: 26px; }
  .mx-mv-card { padding: 26px 22px; }
  .mx-value-card { padding: 26px 22px 22px; }
  .mx-cta-area { padding-bottom: 40px; }
  .mx-cta-box { padding: 32px 20px; }
}
/* CTA section sits on white */
.mx-cta-area { background: #fff; padding-top: 70px; }
.mx-cta-box { box-shadow: 0 24px 60px rgba(4, 29, 119, 0.22); }
@media (max-width: 991px) { .mx-cta-area { padding-top: 50px; } }
@media (max-width: 575px) { .mx-cta-area { padding-top: 36px; } }
