/* ==========================================================================
   ADS BY G5 — Brand overrides for the Gencyo theme
   Brand palette taken from the ADS BY G5 logo:
   cyan #00AEEC · blue #0053C2 · indigo #0A3FC7 · purple #A020B8
   ========================================================================== */

:root {
  --theme-color1: #0A5BD6;
  --theme-color1-rgb: 10, 91, 214;
  --theme-color2: #0B0E1A;
  --theme-color3: #06080F;
  --theme-color2-rgb: 11, 14, 26;
  --theme-color3-rgb: 6, 8, 15;

  --g5-cyan: #00AEEC;
  --g5-blue: #0053C2;
  --g5-indigo: #0A3FC7;
  --g5-purple: #A020B8;
  --g5-gradient: linear-gradient(100deg, #00AEEC 0%, #0A5BD6 48%, #A020B8 100%);
  --g5-gradient-soft: linear-gradient(100deg, rgba(0, 174, 236, .16) 0%, rgba(10, 91, 214, .16) 50%, rgba(160, 32, 184, .16) 100%);
}

/* --- recolour the theme's baked-in orange artwork to brand blue --------- */
img[src*="images/icons/"],
img[src*="feature-shape"],
img[src*="contact-shape"],
img[src*="about-1-3"],
img[src*="hero-object"],
img[src*="circle1-1"] {
  filter: hue-rotate(195deg) saturate(1.1);
}

/* keep photographic / neutral assets untouched */
img[src*="images/icons/client-"],
img[src*="images/logo/"] {
  filter: none !important;
}

/* hero backdrop shifted from the theme's orange glow to brand blue */
.hero-1-bg {
  filter: hue-rotate(188deg) saturate(.88);
}

/* --- logo sizing --------------------------------------------------------- */
.main-header .logo img,
.sticky-header .logo img,
.mobile-menu .nav-logo img {
  max-height: 62px;
  width: auto;
}

.footer-logo img {
  max-height: 82px;
  width: auto;
}

/* --- gradient type helpers ---------------------------------------------- */
.g5-grad-text {
  background: var(--g5-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* the theme splits section titles into per-character spans, so a clipped
   gradient would render invisible — use a solid brand tint instead */
.sec-title .title span {
  color: var(--g5-cyan);
}

/* --- header CTA ---------------------------------------------------------- */
.main-header .contact-btn {
  background: var(--g5-gradient);
  background-size: 160% 100%;
  transition: background-position .5s ease, transform .4s ease;
}

.main-header .contact-btn:hover {
  background-position: 100% 0;
  transform: translateY(-2px);
}

/* --- eyebrow / kicker ---------------------------------------------------- */
.g5-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #fff;
  padding: 9px 20px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: var(--g5-gradient-soft);
  backdrop-filter: blur(8px);
  margin-bottom: 26px;
}

.g5-eyebrow i {
  color: var(--g5-cyan);
  font-size: 11px;
}

/* --- platform strip ------------------------------------------------------ */
.g5-platform-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 30px;
  padding: 26px 0 0;
}

.g5-platform-strip span {
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
  transition: color .35s ease, transform .35s ease;
}

.g5-platform-strip span:hover {
  color: #fff;
  transform: translateY(-2px);
}

/* --- proof / stat chips -------------------------------------------------- */
.g5-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 30px 0 34px;
}

.g5-proof-item {
  position: relative;
  padding: 18px 26px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .03);
  overflow: hidden;
  transition: border-color .4s ease, transform .4s ease;
}

.g5-proof-item:before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--g5-gradient);
  opacity: 0;
  transition: opacity .4s ease;
}

.g5-proof-item:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 174, 236, .45);
}

.g5-proof-item:hover:before {
  opacity: .12;
}

.g5-proof-item strong {
  position: relative;
  display: block;
  font-size: 30px;
  line-height: 1.1;
  color: #fff;
  font-family: var(--heading-font-family);
}

.g5-proof-item span {
  position: relative;
  display: block;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  margin-top: 6px;
}

/* --- generic brand card -------------------------------------------------- */
.g5-card {
  position: relative;
  height: 100%;
  padding: 38px 34px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .025);
  overflow: hidden;
  transition: transform .45s ease, border-color .45s ease, background-color .45s ease;
}

.g5-card:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 3px;
  width: 0;
  background: var(--g5-gradient);
  transition: width .55s cubic-bezier(.22, 1, .36, 1);
}

.g5-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 174, 236, .32);
  background: rgba(255, 255, 255, .045);
}

.g5-card:hover:before {
  width: 100%;
}

.g5-card .g5-num {
  display: block;
  font-family: var(--heading-font-family);
  font-size: 15px;
  letter-spacing: .18em;
  color: var(--g5-cyan);
  margin-bottom: 18px;
}

.g5-card .g5-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 58px;
  width: 58px;
  border-radius: 14px;
  font-size: 24px;
  color: #fff;
  background: var(--g5-gradient);
  margin-bottom: 22px;
}

.g5-card h4,
.g5-card h3 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 14px;
}

.g5-card p {
  color: rgba(255, 255, 255, .65);
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.75;
}

.g5-card p strong {
  color: #fff;
  font-weight: 500;
}

.g5-card .g5-meta {
  display: block;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 13px;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .5);
}

/* --- platform card ------------------------------------------------------- */
.g5-platform-card .g5-brand-icon {
  font-size: 34px;
  background: var(--g5-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
  display: block;
}

.g5-platform-card h3 {
  font-size: 26px;
  letter-spacing: .04em;
}

/* --- chips --------------------------------------------------------------- */
.g5-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.g5-chips li {
  list-style: none;
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, .12);
  transition: color .35s ease, border-color .35s ease, transform .35s ease;
}

.g5-chips li:hover {
  color: #fff;
  border-color: var(--g5-cyan);
  transform: translateY(-2px);
}

/* --- framework / step rail ---------------------------------------------- */
.g5-rail {
  position: relative;
  padding-left: 34px;
}

.g5-rail:before {
  content: "";
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(180deg, var(--g5-cyan), var(--g5-purple));
  opacity: .5;
}

.g5-rail-item {
  position: relative;
  padding: 0 0 38px;
}

.g5-rail-item:last-child {
  padding-bottom: 0;
}

.g5-rail-item:before {
  content: "";
  position: absolute;
  left: -34px;
  top: 8px;
  height: 15px;
  width: 15px;
  border-radius: 50%;
  background: var(--theme-color2);
  border: 2px solid var(--g5-cyan);
  transition: box-shadow .4s ease;
}

.g5-rail-item:hover:before {
  box-shadow: 0 0 0 6px rgba(0, 174, 236, .16);
}

.g5-rail-item .g5-step {
  font-size: 13px;
  letter-spacing: .2em;
  color: var(--g5-cyan);
  text-transform: uppercase;
}

.g5-rail-item h4 {
  color: #fff;
  font-size: 24px;
  margin: 8px 0 10px;
}

.g5-rail-item p {
  color: rgba(255, 255, 255, .62);
  margin: 0;
}

/* --- loop / flow pills --------------------------------------------------- */
.g5-loop {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.g5-loop span {
  padding: 12px 22px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, .03);
}

.g5-loop i {
  color: var(--g5-cyan);
  font-size: 12px;
}

/* --- big statement ------------------------------------------------------- */
.g5-statement {
  font-family: var(--heading-font-family);
  font-size: 34px;
  line-height: 1.35;
  color: #fff;
  letter-spacing: -.01em;
}

@media (min-width: 992px) {
  .g5-statement {
    font-size: 44px;
  }
}

/* --- contact / whatsapp form -------------------------------------------- */
.g5-form label {
  display: block;
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 10px;
}

.g5-form input,
.g5-form select,
.g5-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  color: #fff;
  padding: 16px 20px;
  font-size: 15px;
  outline: none;
  transition: border-color .35s ease, background-color .35s ease;
}

.g5-form textarea {
  min-height: 150px;
  resize: vertical;
}

.g5-form select option {
  background: #0B0E1A;
  color: #fff;
}

.g5-form input:focus,
.g5-form select:focus,
.g5-form textarea:focus {
  border-color: var(--g5-cyan);
  background: rgba(255, 255, 255, .06);
}

.g5-form input::placeholder,
.g5-form textarea::placeholder {
  color: rgba(255, 255, 255, .35);
}

.g5-form .g5-field {
  margin-bottom: 22px;
}

.g5-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 38px;
  border: 0;
  border-radius: 100px;
  color: #fff;
  font-size: 15px;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--g5-gradient);
  background-size: 170% 100%;
  cursor: pointer;
  transition: background-position .5s ease, transform .4s ease, box-shadow .4s ease;
}

.g5-wa-btn:hover {
  background-position: 100% 0;
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -18px rgba(0, 174, 236, .8);
}

.g5-form-note {
  margin-top: 16px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .5);
}

.g5-form-error {
  color: #ff7a7a;
  font-size: 13.5px;
  margin-top: 14px;
  display: none;
}

/* --- contact info list --------------------------------------------------- */
.g5-info-list {
  padding: 0;
  margin: 0;
}

.g5-info-list li {
  list-style: none;
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.g5-info-list li:first-child {
  padding-top: 0;
}

.g5-info-list .g5-ico {
  flex: 0 0 auto;
  height: 46px;
  width: 46px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--g5-gradient);
}

.g5-info-list h5 {
  color: #fff;
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.g5-info-list a,
.g5-info-list p {
  color: rgba(255, 255, 255, .68);
  display: block;
  margin: 0;
  font-size: 15px;
  transition: color .3s ease;
}

.g5-info-list a:hover {
  color: var(--g5-cyan);
}

/* --- map ---------------------------------------------------------------- */
.g5-map iframe {
  display: block;
  width: 100%;
  height: 460px;
  border: 0;
  filter: grayscale(1) contrast(1.05) brightness(.92);
}

/* --- floating whatsapp --------------------------------------------------- */
.g5-wa-float {
  position: fixed;
  right: 26px;
  bottom: 96px;
  z-index: 99;
  height: 56px;
  width: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #fff;
  background: #25D366;
  box-shadow: 0 12px 30px -10px rgba(37, 211, 102, .9);
  transition: transform .4s ease;
}

.g5-wa-float:hover {
  transform: scale(1.08);
  color: #fff;
}

/* --- legal / policy pages ------------------------------------------------ */
.g5-legal {
  color: rgba(255, 255, 255, .7);
  font-size: 16px;
  line-height: 1.85;
}

.g5-legal h2 {
  color: #fff;
  font-size: 28px;
  margin: 46px 0 16px;
}

.g5-legal h3 {
  color: #fff;
  font-size: 20px;
  margin: 30px 0 12px;
}

.g5-legal ul {
  padding-left: 20px;
  margin-bottom: 18px;
}

.g5-legal ul li {
  list-style: disc;
  margin-bottom: 9px;
}

.g5-legal a {
  color: var(--g5-cyan);
}

.g5-legal .g5-updated {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

/* --- footer tweaks ------------------------------------------------------- */
.footer-section .g5-footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  padding: 16px 34px;
  border-radius: 100px;
  color: #fff;
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--g5-gradient);
  background-size: 170% 100%;
  transition: background-position .5s ease, transform .4s ease;
}

.footer-section .g5-footer-cta:hover {
  background-position: 100% 0;
  transform: translateY(-3px);
  color: #fff;
}

.footer-section .g5-footer-address {
  color: rgba(255, 255, 255, .6);
  font-size: 15px;
  line-height: 1.8;
  margin-top: 22px;
  max-width: 420px;
}

.footer-section .g5-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding: 0;
  margin: 18px 0 0;
}

.footer-section .g5-footer-legal li {
  list-style: none;
}

.footer-section .g5-footer-legal a {
  color: rgba(255, 255, 255, .55);
  font-size: 14px;
  transition: color .3s ease;
}

.footer-section .g5-footer-legal a:hover {
  color: var(--g5-cyan);
}

/* --- section paddings for the new blocks -------------------------------- */
.g5-section {
  position: relative;
  padding: 110px 0;
}

.g5-section.g5-pt-0 {
  padding-top: 0;
}

.g5-section.g5-pb-0 {
  padding-bottom: 0;
}

@media (max-width: 767px) {
  .g5-section {
    padding: 72px 0;
  }

  .g5-statement {
    font-size: 27px;
  }
}

/* --- page title breadcrumb ---------------------------------------------- */
.page-title:before {
  background: linear-gradient(179deg, rgba(6, 8, 15, .62) 19.26%, rgba(10, 91, 214, .48) 97.47%);
}

.page-title .title {
  background: none;
}

.page-title .page-breadcrumb li a:hover {
  color: var(--g5-cyan);
}
