/* Renvatrix Solutions LLC – styles (built on the Amonx template tokens) */

/* ---------- Brand colors (from logo) ---------- */
:root {
  --primary-color: #0c142b;
  --secondary-color: #1a709b;
  --dark-color: #0e142a;
  --white-color: #ffffff;
  --body-color: #425466;
  --light-bg: #f4f7fb;

  /* derived tints/shades of the logo colors */
  --secondary-light: #3a9bcc;   /* readable accent on dark backgrounds */
  --secondary-dark: #14587b;
  --navy-mid: #123a5e;          /* gradient midpoint between navy and teal-blue */
  --footer-bg: #080d1f;

  /* map the template tokens onto the brand colors */
  --amonx-primary: var(--secondary-color);
  --amonx-base: var(--secondary-light);
  --amonx-black: var(--primary-color);
  --amonx-black3: var(--dark-color);
  --amonx-white2: var(--light-bg);
  --amonx-text: var(--body-color);
}

body { font-family: var(--amonx-font); color: var(--body-color); background: var(--white-color); margin: 0; }
h1,h2,h3,h4,h5 { font-family: var(--amonx-heading-font); color: var(--primary-color); }
a { text-decoration: none; }
.space-y { --section-space: 110px; }

/* ---------- Header ---------- */
.rx-header { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background .3s, box-shadow .3s, padding .3s; padding: 10px 0; background-color: var(--white-color); }
.rx-header.is-stuck { background: var(--white-color); backdrop-filter: blur(10px); box-shadow: 0 6px 24px rgba(12,20,43,.18); padding: 12px 0; }
.rx-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.rx-logo { display: inline-flex; align-items: center; gap: 12px; color: var(--primary-color); font-family: var(--amonx-heading-font); font-weight: 800; font-size: 26px; letter-spacing: -.01em; }
.rx-logo__mark { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); display: grid; place-items: center; font-size: 22px; font-weight: 800; color: #fff; }
.rx-logo small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .28em; color: var(--secondary-color); text-transform: uppercase; margin-top: -2px; }
.rx-nav { display: flex; align-items: center; gap: 34px; }
.rx-nav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.rx-nav a.rx-link { color: var(--primary-color); font-weight: 500; font-size: 16px; position: relative; padding: 6px 0; }
.rx-nav a.rx-link::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--secondary-color); transition: width .3s; }
.rx-nav a.rx-link:hover::after { width: 100%; }
.rx-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.rx-toggle span { display: block; height: 2px; background: var(--primary-color); margin: 6px 0; transition: .3s; }
@media (max-width: 991px) {
  .rx-toggle { display: block; }
  .rx-nav { position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw); background: var(--dark-color); flex-direction: column; align-items: flex-start; justify-content: flex-start; padding: 90px 28px 28px; transform: translateX(100%); transition: transform .35s ease; gap: 28px; }
  .rx-nav.is-open { transform: none; }
  .rx-nav ul { flex-direction: column; gap: 18px; }
  .rx-nav a.rx-link { color: #fff; }
  .rx-toggle { position: relative; z-index: 3; }
  .rx-header .rx-nav-open .rx-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
}

/* ---------- Hero slider ---------- */
.rx-hero { position: relative; min-height: 100vh; background: var(--dark-color); color: #fff; overflow: hidden; display: flex; align-items: center; }
.rx-hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s; display: flex; align-items: center; }
.rx-hero__slide.is-active { opacity: 1; visibility: visible; z-index: 2; }
.rx-hero__bg { position: absolute; inset: 0; transform: scale(1.08); transition: transform 8s ease-out; }
.rx-hero__slide.is-active .rx-hero__bg { transform: scale(1); }
.rx-hero__bg--1 { background: radial-gradient(900px 600px at 82% 25%, rgba(26,112,155,.55), transparent 60%), radial-gradient(700px 500px at 10% 90%, rgba(26,112,155,.28), transparent 60%), var(--primary-color); }
.rx-hero__bg--2 { background: radial-gradient(900px 600px at 15% 20%, rgba(26,112,155,.35), transparent 60%), radial-gradient(800px 600px at 90% 85%, rgba(26,112,155,.5), transparent 60%), var(--dark-color); }
.rx-hero__bg--3 { background: radial-gradient(900px 600px at 70% 80%, rgba(26,112,155,.3), transparent 60%), radial-gradient(900px 600px at 20% 15%, rgba(26,112,155,.5), transparent 60%), var(--primary-color); }
.rx-hero__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 70%); }
.rx-hero__ring { position: absolute; right: -120px; top: 50%; width: 560px; height: 560px; margin-top: -280px; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); }
.rx-hero__ring::before, .rx-hero__ring::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.1); inset: 70px; }
.rx-hero__ring::after { inset: 140px; border-color: rgba(58,155,204,.5); }
.rx-hero__content { position: relative; z-index: 2; padding: 150px 0 130px; max-width: 860px; }
.rx-hero__num { font-family: var(--amonx-heading-font); font-weight: 700; letter-spacing: .2em; font-size: 15px; color: var(--secondary-light); margin-bottom: 18px; display: flex; align-items: center; gap: 14px; }
.rx-hero__num::before { content: ""; width: 48px; height: 2px; background: var(--secondary-light); }
.rx-hero__title { color: #fff; font-size: clamp(38px, 6vw, 76px); line-height: 1.07; font-weight: 800; letter-spacing: -.02em; margin-bottom: 26px; }
.rx-hero__text { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.7; color: rgba(255,255,255,.82); max-width: 640px; margin-bottom: 38px; }
.rx-hero__slide .rx-hero__content > * { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.rx-hero__slide.is-active .rx-hero__content > * { opacity: 1; transform: none; }
.rx-hero__slide.is-active .rx-hero__content > *:nth-child(2) { transition-delay: .15s; }
.rx-hero__slide.is-active .rx-hero__content > *:nth-child(3) { transition-delay: .3s; }
.rx-hero__slide.is-active .rx-hero__content > *:nth-child(4) { transition-delay: .45s; }
.rx-hero__controls { position: absolute; z-index: 5; left: 0; right: 0; bottom: 42px; }
.rx-hero__controls .container { display: flex; align-items: center; justify-content: space-between; }
.rx-dots { display: flex; gap: 12px; }
.rx-dot { width: 46px; height: 4px; border: 0; background: rgba(255,255,255,.25); border-radius: 4px; cursor: pointer; padding: 0; position: relative; overflow: hidden; }
.rx-dot::after { content: ""; position: absolute; inset: 0; background: var(--secondary-light); transform: scaleX(0); transform-origin: left; }
.rx-dot.is-active::after { animation: rxfill 6.5s linear forwards; }
@keyframes rxfill { to { transform: scaleX(1); } }
.rx-arrows { display: flex; gap: 10px; }
.rx-arrow { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; cursor: pointer; transition: .3s; font-size: 16px; }
.rx-arrow:hover { background: var(--secondary-color); border-color: var(--secondary-color); }

/* buttons: reuse template look, add outline variant */
.rx-btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.amonx-btn { text-decoration: none; }
.amonx-btn:hover { color: #fff; }

.amonx-btn--white { background: #fff; color: var(--primary-color); }
.amonx-btn--white:hover { color: #fff; }

/* ---------- Section titles ---------- */
.sec-title { margin-bottom: 55px; }
.sec-title--center { text-align: center; }
.sec-title__text { margin-top: 18px; max-width: 760px; font-size: 18px; line-height: 1.75; }
.sec-title--center .sec-title__text { margin-inline: auto; }
.rx-dark .sec-title__title { color: #fff; }
.rx-dark .sec-title__tagline { color: #fff; border-color: rgba(255,255,255,.25); }
.rx-dark .sec-title__text { color: rgba(255,255,255,.75); }
.sec-title__title { font-family: var(--amonx-heading-font); }

/* ---------- About ---------- */
.rx-about__lead { font-size: 18px; line-height: 1.85; }
.rx-about__panel { position: relative; border-radius: 28px; overflow: hidden; min-height: 420px; background: linear-gradient(145deg, var(--primary-color), var(--navy-mid) 60%, var(--secondary-color)); color: #fff; padding: 46px; display: flex; flex-direction: column; justify-content: flex-end; }
.rx-about__panel::before { content: ""; position: absolute; right: -90px; top: -90px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(58,155,204,.55), transparent 65%); }
.rx-about__panel::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: linear-gradient(160deg, #000, transparent 70%); mask-image: linear-gradient(160deg, #000, transparent 70%); }
.rx-about__panel > * { position: relative; z-index: 1; }
.rx-about__panel i { font-size: 42px; color: var(--secondary-light); margin-bottom: 22px; }
.rx-about__panel h3 { color: #fff; font-size: 28px; line-height: 1.3; font-weight: 700; margin: 0; }
.rx-about__focus { border-left: 4px solid var(--secondary-color); padding: 6px 0 6px 22px; margin-top: 28px; font-family: var(--amonx-heading-font); font-size: 22px; line-height: 1.5; font-weight: 600; color: var(--primary-color); }

/* About panel with photo */
.rx-about__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform .6s ease; }
.rx-about__panel:has(.rx-about__img)::after { background: linear-gradient(180deg, rgba(12,20,43,.15) 0%, rgba(12,20,43,.55) 55%, rgba(12,20,43,.92) 100%); -webkit-mask-image: none; mask-image: none; background-size: auto; z-index: 1; }
.rx-about__panel > i, .rx-about__panel > h3 { position: relative; z-index: 2; }
.rx-about__panel:hover .rx-about__img { transform: scale(1.05); }

/* ---------- Services ---------- */
.rx-services { background: var(--light-bg); }
.rx-card { background: #fff; border-radius: 24px; padding: 44px 40px; height: 100%; position: relative; overflow: hidden; transition: transform .4s, box-shadow .4s; border: 1px solid transparent; }
.rx-card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(12,20,43,.12); border-color: rgba(26,112,155,.2); }
.rx-card__icon { width: 74px; height: 74px; border-radius: 20px; display: grid; place-items: center; font-size: 30px; color: #fff; margin-bottom: 26px; background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); }
.rx-card:nth-child(2) .rx-card__icon, .col-lg-6:nth-child(2) .rx-card__icon { background: linear-gradient(135deg, var(--secondary-dark), var(--secondary-light)); }
.rx-card h3 { font-size: 28px; font-weight: 700; margin-bottom: 14px; }
.rx-card p { line-height: 1.75; margin-bottom: 26px; }
.rx-card__link { font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 14px; color: var(--primary-color); display: inline-flex; gap: 10px; align-items: center; transition: .3s; }
.rx-card__link:hover { color: var(--secondary-color); gap: 16px; }
.rx-card__ghost { position: absolute; right: 24px; top: 12px; font-family: var(--amonx-heading-font); font-weight: 800; font-size: 100px; line-height: 1; color: rgba(12,20,43,.05); }
.rx-services__intro { text-align: center; max-width: 780px; margin: 0 auto 50px; font-size: 18px; line-height: 1.75; }

/* ---------- Industries ---------- */
.rx-industry { display: flex; flex-direction: column; gap: 22px; padding: 30px 28px; border-radius: 20px; border: 1px solid var(--amonx-border-color); height: 100%; background: #fff; transition: .35s; position: relative; overflow: hidden; }
.rx-industry::before { content: ""; position: absolute; inset: 0; background: linear-gradient(145deg, var(--dark-color), var(--navy-mid)); opacity: 0; transition: opacity .35s; }
.rx-industry > * { position: relative; z-index: 1; }
.rx-industry:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 20px 44px rgba(12,20,43,.18); }
.rx-industry:hover::before { opacity: 1; }
.rx-industry__icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; background: rgba(26,112,155,.1); color: var(--secondary-color); transition: .35s; }
.rx-industry:hover .rx-industry__icon { background: var(--secondary-color); color: #fff; }
.rx-industry h3 { font-size: 21px; font-weight: 700; margin: 0; line-height: 1.3; transition: color .35s; }
.rx-industry:hover h3 { color: #fff; }

/* ---------- Functions (dark) ---------- */
.rx-dark { background: var(--dark-color); position: relative; overflow: hidden; }
.rx-dark::before { content: ""; position: absolute; left: -200px; top: -200px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(26,112,155,.42), transparent 65%); }
.rx-dark::after { content: ""; position: absolute; right: -200px; bottom: -220px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(58,155,204,.22), transparent 65%); }
.rx-dark > .container { position: relative; z-index: 1; }
.rx-func { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; background: rgba(255,255,255,.04); height: 100%; transition: .3s; }
.rx-func:hover { background: rgba(255,255,255,.1); border-color: var(--secondary-light); transform: translateY(-4px); }
.rx-func i { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 21px; color: var(--secondary-light); background: rgba(58,155,204,.14); }
.rx-func h3 { color: #fff; font-size: 19px; font-weight: 600; margin: 0; line-height: 1.35; }

/* ---------- Why choose ---------- */
.rx-why { padding: 34px 30px; border-radius: 22px; background: var(--light-bg); height: 100%; transition: .35s; }
.rx-why:hover { background: #fff; box-shadow: 0 20px 44px rgba(12,20,43,.1); transform: translateY(-6px); }
.rx-why__icon { font-size: 34px; color: var(--secondary-color); margin-bottom: 22px; display: block; }
.rx-why h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.rx-why p { margin: 0; line-height: 1.75; }

/* ---------- Approach ---------- */
.rx-approach { background: linear-gradient(180deg, #fff, var(--light-bg)); }
.rx-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; counter-reset: s; }
.rx-steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 41px; height: 2px; background: repeating-linear-gradient(90deg, var(--secondary-color) 0 8px, transparent 8px 16px); opacity: .4; }
.rx-step { position: relative; text-align: center; padding: 0 12px; }
.rx-step__num { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 26px; display: grid; place-items: center; background: #fff; border: 2px solid var(--secondary-color); font-family: var(--amonx-heading-font); font-weight: 800; font-size: 28px; color: var(--secondary-color); position: relative; z-index: 1; transition: .35s; }
.rx-step:hover .rx-step__num { background: var(--secondary-color); color: #fff; transform: scale(1.08); }
.rx-step h3 { font-size: 24px; font-weight: 700; margin-bottom: 10px; }
.rx-step p { margin: 0; line-height: 1.7; }
@media (max-width: 991px) { .rx-steps { grid-template-columns: repeat(2, 1fr); gap: 44px 24px; } .rx-steps::before { display: none; } }
@media (max-width: 575px) { .rx-steps { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.rx-cta { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--primary-color) 0%, var(--navy-mid) 55%, var(--secondary-color) 100%); color: #fff; }
.rx-cta::before { content: ""; position: absolute; right: -120px; top: -140px; width: 520px; height: 520px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 0 0 70px rgba(255,255,255,.03), 0 0 0 140px rgba(255,255,255,.02); }
.rx-cta .container { position: relative; z-index: 1; }
.rx-cta h2 { color: #fff; font-size: clamp(32px, 4.4vw, 56px); font-weight: 800; line-height: 1.12; margin-bottom: 20px; }
.rx-cta p { color: rgba(255,255,255,.82); font-size: 18px; line-height: 1.75; max-width: 600px; margin-bottom: 34px; }
.rx-addr { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 24px; padding: 38px; backdrop-filter: blur(6px); }
.rx-addr i { font-size: 28px; color: var(--secondary-light); margin-bottom: 18px; display: block; }
.rx-addr h3 { color: #fff; font-size: 24px; margin-bottom: 10px; }
.rx-addr address { margin: 0; line-height: 1.8; font-size: 18px; color: rgba(255,255,255,.85); font-style: normal; }

/* ---------- Footer ---------- */
/* ===== Footer: light background, dark text ===== */
.rx-footer {
  background: #dceff8;
  color: var(--primary-color);          /* #0c142b */
  padding: 70px 0 28px;
  font-size: 15px;
}
.rx-footer .container { display: block; }

.rx-footer h4 { color: var(--primary-color); font-size: 18px; font-weight: 700; margin-bottom: 18px; }

.rx-footer a { color: #1f2937; }
.rx-footer a:hover { color: var(--secondary-color); }   /* #1a709b */

.rx-footer address { color: #1f2937; margin: 18px 0 0; line-height: 1.8; font-style: normal; }

.rx-footer ul { display: block; list-style: none; margin: 0; padding: 0; }
.rx-footer li { margin-bottom: 9px; }

.rx-footer .rx-logo { color: var(--primary-color); }
.rx-footer .rx-logo small { color: var(--secondary-color); }

.rx-footer__bottom {
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid rgba(12, 20, 43, 0.15);
  color: #1f2937;
}
.rx-top { position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--secondary-color); color: #fff; opacity: 0; pointer-events: none; transition: .3s; cursor: pointer; z-index: 90; }
.rx-top.is-show { opacity: 1; pointer-events: auto; }
.rx-top:hover { background: var(--primary-color); }
@media (max-width: 767px) { .space-y { --section-space: 80px; } .rx-card { padding: 34px 26px; } .rx-hero__content { padding: 130px 0 150px; } .rx-arrows { display: none; } .rx-about__panel { min-height: 320px; padding: 32px; } }
section[id] { scroll-margin-top: 60px; }

/* ================= Inner pages ================= */
.rx-nav li { position: relative; }
.rx-nav .has-sub > a i { font-size: 11px; margin-left: 4px; transition: transform .3s; }
.rx-nav ul.rx-sub { position: absolute; top: 100%; left: -18px; min-width: 290px; list-style: none; margin: 14px 0 0; padding: 12px; background: var(--primary-color); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; box-shadow: 0 24px 50px rgba(0,0,0,.35); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s; gap: 0; display: block; }
.rx-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.rx-sub li a { display: block; padding: 10px 14px; border-radius: 10px; color: rgba(255,255,255,.85); font-size: 15px; font-weight: 500; transition: .2s; }
.rx-sub li a:hover { background: rgba(255,255,255,.08); color: var(--secondary-light); padding-left: 20px; }
@media (min-width: 992px) { .rx-nav .has-sub:hover > ul.rx-sub, .rx-nav .has-sub:focus-within > ul.rx-sub { opacity: 1; visibility: visible; transform: none; } .rx-nav .has-sub:hover > a i { transform: rotate(180deg); } }
@media (max-width: 991px) {
  .rx-nav { overflow-y: auto; }
  .rx-nav ul { width: 100%; }
  .rx-nav ul.rx-sub { position: static; min-width: 0; margin: 8px 0 0; padding: 0 0 0 12px; background: transparent; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; }
  .rx-sub::before { display: none; }
  .rx-nav .has-sub.is-open > ul.rx-sub { display: block; }
  .has-sub.is-open > a i { transform: rotate(180deg); }
}
.rx-ph {
  position: relative;
  background-color: var(--primary-color); /* fallback while the image loads */
  background-image: url("../images/pge-tle.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 190px 0 90px;
  color: #fff;
  overflow: hidden;
}

/* Dark navy overlay over the photo */
.rx-ph::before {
  content: "";
  position: absolute;
  inset: 0;
  /* background: linear-gradient(180deg, rgba(12, 20, 43, 0.85) 0%, rgba(12, 20, 43, 0.7) 100%); */
}
.rx-ph .container { position: relative; z-index: 2; }
.rx-ph .rx-hero__ring { width: 440px; height: 440px; margin-top: -220px; right: -110px; }
.rx-ph__title { color: #fff; font-size: clamp(34px, 5vw, 60px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 18px; max-width: 900px; }
.rx-crumb { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; font-size: 15px; }
.rx-crumb li { color: rgba(255,255,255,.75); text-transform: uppercase; letter-spacing: .08em; font-weight: 500; }
.rx-crumb li + li::before { content: "/"; margin-right: 10px; color: var(--secondary-light); }
.rx-crumb a { color: #fff; } .rx-crumb a:hover { color: var(--secondary-light); }
.rx-lead-icon { width: 70px; height: 70px; border-radius: 20px; background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); color: #fff; display: grid; place-items: center; font-size: 28px; margin-bottom: 26px; }

/* Lead image on service pages */
.rx-lead-media { margin: 0 0 32px; border-radius: 16px; overflow: hidden; box-shadow: 0 12px 32px rgba(12,20,43,.12); background: var(--light-bg); }
.rx-lead-media__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s ease; }
.rx-lead-media:hover .rx-lead-media__img { transform: scale(1.04); }
@media (max-width: 767px) { .rx-lead-media { border-radius: 12px; margin-bottom: 24px; } }

.rx-h2 { font-size: 30px; font-weight: 700; line-height: 1.25; margin: 0 0 16px; }
.rx-h2--lg { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.01em; margin-bottom: 22px; }
.rx-text { font-size: 18px; line-height: 1.8; margin-bottom: 18px; color: #000000; }
.rx-block { margin-top: 56px; }
.rx-chips { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 16px; }
.rx-chips--one { margin: 0; }
.rx-chips li { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--light-bg); border-radius: 14px; font-weight: 600; color: var(--primary-color); line-height: 1.35; transition: .3s; }
.rx-chips li:hover { background: #fff; box-shadow: 0 10px 28px rgba(12,20,43,.1); transform: translateY(-3px); }
.rx-chips i { color: var(--secondary-color); font-size: 18px; flex: 0 0 auto; }
@media (max-width: 575px) { .rx-chips { grid-template-columns: 1fr; } }
.rx-side { position: sticky; top: 100px; }
.rx-side h3 { font-size: 24px; font-weight: 700; margin-bottom: 18px; }
.rx-side ul { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.rx-side ul a { display: flex; align-items: center; gap: 12px; padding: 15px 18px; border-radius: 14px; background: var(--light-bg); color: var(--primary-color); font-weight: 600; transition: .3s; }
.rx-side ul a:hover, .rx-side ul a.is-active { background: var(--secondary-color); color: #fff; }
.rx-side__icon { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; background: #fff; color: var(--secondary-color); flex: 0 0 auto; }
.rx-side__box { background: linear-gradient(145deg, var(--primary-color), var(--navy-mid)); color: #fff; padding: 32px 28px; border-radius: 20px; }
.rx-side__box h4 { color: #fff; font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.rx-side__box p { color: rgba(255,255,255,.78); margin-bottom: 22px; }
.rx-mini { display: flex; gap: 18px; height: 100%; padding: 24px; border: 1px solid var(--amonx-border-color); border-radius: 18px; transition: .3s; }
.rx-mini:hover { border-color: transparent; box-shadow: 0 16px 38px rgba(12,20,43,.12); transform: translateY(-4px); }
.rx-mini__icon { flex: 0 0 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(26,112,155,.1); color: var(--secondary-color); font-size: 21px; }
.rx-mini h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.rx-mini p { margin: 0; line-height: 1.65; }
.rx-timeline { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 18px; }
.rx-timeline li { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 14px; background: var(--light-bg); font-weight: 600; color: var(--primary-color); line-height: 1.35; }
.rx-timeline span { flex: 0 0 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--secondary-color); color: #fff; font-family: var(--amonx-heading-font); font-weight: 800; font-size: 15px; }
@media (max-width: 575px) { .rx-timeline { grid-template-columns: 1fr; } }
.rx-checks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.rx-checks li { display: flex; gap: 14px; align-items: flex-start; font-size: 18px; color: var(--primary-color); font-weight: 500; }
.rx-checks i { flex: 0 0 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--secondary-color); color: #fff; font-size: 12px; margin-top: 2px; }
.rx-flow { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 8px; counter-reset: f; }
.rx-flow li { counter-increment: f; position: relative; padding: 12px 22px 12px 18px; background: var(--secondary-color); color: #fff; font-weight: 600; border-radius: 10px; }
.rx-flow li::before { content: counter(f); display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 10px; border-radius: 50%; background: rgba(255,255,255,.2); font-size: 12px; }
.rx-flow li:not(:last-child)::after { content: "\2192"; position: absolute; right: -19px; top: 50%; transform: translateY(-50%); color: var(--secondary-color); font-weight: 800; z-index: 1; }
.rx-flow li:not(:last-child) { margin-right: 16px; }
.rx-lead--big { font-family: var(--amonx-heading-font); font-size: clamp(24px, 3vw, 34px); font-weight: 700; line-height: 1.35; color: var(--primary-color); }
.rx-cta--slim { padding: 70px 0; }
.rx-cta--slim h2 { font-size: clamp(26px, 3.2vw, 40px); margin: 0; }
.rx-industry-link, .rx-func-link { display: block; height: 100%; color: inherit; }
/* footer (expanded) */
.rx-footer { padding: 70px 0 28px; }
.rx-footer .container { display: block; }
.rx-footer h4 { color: #0c142b; font-size: 18px; font-weight: 700; margin-bottom: 18px; }
.rx-footer ul { display: block; padding: 0; }
.rx-footer li { margin-bottom: 9px; }
.rx-footer address { margin: 18px 0 0; line-height: 1.8; font-style: normal; }
.rx-footer__bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(88, 199, 192, 0.18); text-align: center;}

.rx-note { margin: 16px 0 0; font-size: 18px; line-height: 1.7; }
.rx-nav ul.rx-sub li { margin: 0; }

.rx-ph__bg { position: absolute; top: 0; bottom: 0; left: 0; width: 100%; background: radial-gradient(800px 420px at 85% 10%, rgba(26,112,155,.5), transparent 60%), radial-gradient(600px 400px at 5% 100%, rgba(26,112,155,.25), transparent 60%); }
.rx-ph .rx-hero__grid, .rx-ph .rx-hero__ring { z-index: 1; }
/* template heading animation, applied to any title */
.title-fade-in .word { display: inline-block; white-space: nowrap; }
.title-fade-in .char { display: inline-block; opacity: 0; filter: blur(4px); transform: translate(-24px, 0); white-space: pre; transition: transform .5s ease, opacity .5s ease, filter .5s ease; transition-delay: var(--transition-delay); }
.title-fade-in.is-visible .char { opacity: 1; filter: blur(0); transform: none; }
.rx-ph__title.title-fade-in { color: #fff; }
.marquee-one { background: var(--primary-color); overflow: hidden; }
.marquee-one__bg { background: radial-gradient(700px 400px at 15% 20%, rgba(26,112,155,.45), transparent 60%), radial-gradient(700px 400px at 90% 90%, rgba(58,155,204,.25), transparent 60%); }
.marquee-one__bg::after { background: transparent; }
.marquee-one .container, .marquee-one__wrapper { position: relative; z-index: 1; }
@media (max-width: 991px) { .custom-cursor__cursor, .custom-cursor__cursor-two { display: none; } /* Toggle bars: dark when closed, light when the menu is open */
.rx-toggle span { background: var(--primary-color); transition: transform .3s, opacity .3s, background .3s; }

.rx-nav.is-open ~ .rx-toggle span,
.rx-toggle[aria-expanded="true"] span,
.rx-header.rx-nav-open .rx-toggle span {
    background: #fff;
}

/* Optional: animate the three bars into an X while open */
.rx-nav.is-open ~ .rx-toggle span:nth-child(1),
.rx-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }

.rx-nav.is-open ~ .rx-toggle span:nth-child(2),
.rx-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }

.rx-nav.is-open ~ .rx-toggle span:nth-child(3),
.rx-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); } }
@media (prefers-reduced-motion: reduce) { .title-fade-in .char { transition: none; opacity: 1; filter: none; transform: none; } }

/* ---- template hero (hero-one) tuned for Renvatrix copy ---- */
.hero-one { padding-top: 230px; background: radial-gradient(900px 600px at 82% 25%, rgba(26,112,155,.5), transparent 60%), radial-gradient(700px 500px at 10% 90%, rgba(26,112,155,.25), transparent 60%), var(--primary-color); min-height: 100vh; }
.hero-one__title { font-size: clamp(27px, 4.3vw, 60px); line-height: 1.1; }
.hero-one__tagline { margin-bottom: 60px; }
.hero-one__content { padding-bottom: 90px; }
.rx-hero-info__text { flex: 1 1 520px; }
.rx-hero-info__btn { flex: 0 0 auto; }
.hero-one__title span { display: inline-block; }
.hero-one__text { margin: 0; color: rgba(255,255,255,.9); font-size: 18px; line-height: 1.7; }
.hero-one__info .amonx-btn { white-space: nowrap; }
@media (max-width: 767px) { .hero-one { padding-top: 140px; } .hero-one__list { display: none; } }

/* ================= Contact page ================= */
.rx-info { display: flex; gap: 20px; margin-top: 34px; padding: 28px; border: 1px solid var(--amonx-border-color); border-radius: 20px; }
.rx-info__icon { flex: 0 0 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; color: #fff; background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); }
.rx-info h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.rx-info address { margin: 0 0 14px; line-height: 1.8; font-style: normal; font-size: 17px; }
.rx-formcard { background: var(--light-bg); border-radius: 26px; padding: 44px 40px; }
.rx-formcard__sub { margin: -4px 0 26px; }
.rx-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.rx-form__full { grid-column: 1 / -1; }
.rx-form label { display: block; }
.rx-form label span { display: block; margin-bottom: 8px; font-weight: 600; color: var(--primary-color); font-size: 15px; }
.rx-form input, .rx-form select, .rx-form textarea { width: 100%; padding: 15px 18px; border: 1px solid transparent; border-radius: 12px; background: #fff; font: inherit; color: var(--primary-color); transition: border-color .2s, box-shadow .2s; }
.rx-form input:focus, .rx-form select:focus, .rx-form textarea:focus { outline: none; border-color: var(--secondary-color); box-shadow: 0 0 0 4px rgba(26,112,155,.14); }
.rx-form .is-invalid { border-color: #d93025; }
.rx-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.rx-form__result { margin-top: 18px; font-weight: 600; }
.rx-form__result.is-ok { color: #0a8a22; } .rx-form__result.is-err { color: #d93025; }
.rx-map { height: 440px; background: var(--light-bg); }
.rx-map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 575px) { .rx-form__grid { grid-template-columns: 1fr; } .rx-formcard { padding: 32px 22px; } .rx-info { flex-direction: column; } }






 @media (max-width:768px) {


  .rx-logo img {

    width: 100%;
    height: 100%;
    
  }
 }

 

 /* ===== Header: hamburger menu up to 1199px ===== */
@media (max-width: 1199px) {
  /* bootstrap's d-lg-none hides the toggle from 992px, so force it to show */
  .rx-header .rx-toggle { display: block !important; position: relative; z-index: 3; }

  .rx-nav {
    position: fixed; inset: 0 0 0 auto;
    width: min(340px, 85vw);
    background: var(--dark-color);
    flex-direction: column; align-items: flex-start; justify-content: flex-start;
    padding: 90px 28px 28px; gap: 28px;
    transform: translateX(100%);
    transition: transform .35s ease;
    overflow-y: auto;
  }
  .rx-nav.is-open { transform: none; }

  .rx-nav ul { flex-direction: column; gap: 18px; width: 100%; }
  .rx-nav a.rx-link { color: #fff; }

  /* dropdowns become an accordion inside the drawer */
  .rx-nav ul.rx-sub {
    position: static; min-width: 0; margin: 8px 0 0; padding: 0 0 0 12px;
    background: transparent; border: 0; box-shadow: none;
    opacity: 1; visibility: visible; transform: none;
    display: none;
  }
  .rx-sub::before { display: none; }
  .rx-nav .has-sub.is-open > ul.rx-sub { display: block; }
  .has-sub.is-open > a i { transform: rotate(180deg); }
}

/* ===== Slightly tighter desktop menu so it fits at 1200–1399px ===== */
@media (min-width: 1200px) and (max-width: 1399px) {
  .rx-header__inner { gap: 16px; }
  .rx-nav { gap: 22px; }
  .rx-nav ul { gap: 22px; }
  .rx-nav a.rx-link { font-size: 15px; }
}

/* ===== Logo image sizing ===== */
.rx-logo img { height: 56px; width: auto; max-width: 100%; }
@media (max-width: 575px) { .rx-logo img { height: 46px; } }





/* ===== Toggle bars: dark when closed, light when menu is open (all screen sizes) ===== */
.rx-toggle span {
  background: var(--primary-color);
  transition: transform .3s, opacity .3s, background .3s;
}

.rx-nav.is-open ~ .rx-toggle span,
.rx-toggle[aria-expanded="true"] span {
  background: #fff;
}

/* Animate the three bars into an X while open */
.rx-nav.is-open ~ .rx-toggle span:nth-child(1),
.rx-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }

.rx-nav.is-open ~ .rx-toggle span:nth-child(2),
.rx-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }

.rx-nav.is-open ~ .rx-toggle span:nth-child(3),
.rx-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }


  /* ===================== HERO SLIDER: RESPONSIVE ===================== */

/* Image focal point. Change --hero-pos per slide if needed (see notes) */
.hero-one__bg__inner::before { background-position: var(--hero-pos, center center); }

/* Use the real visible height on mobile browsers */
.hero-one { min-height: 100vh; min-height: 100svh; }

/* ---------- Large desktop (1200px+) ---------- */
.hero-one__content { padding-bottom: 100px; }

/* ---------- Laptops / small desktops (up to 1199px) ---------- */
@media (max-width: 1199px) {
  .hero-one { padding-top: 190px; }
  .hero-one__tagline { margin-bottom: 40px; }
  .hero-one__title { font-size: 44px; }
  .hero-one__text { font-size: 17px; }
  .hero-one__info { padding: 18px 22px; }
  .hero-one__info .amonx-btn { font-size: 15px; padding: 13px 26px; }
}

/* ---------- Tablets (up to 991px) ---------- */
@media (max-width: 991px) {
  .hero-one { padding-top: 170px; }
  .hero-one__tagline { font-size: 18px; margin-bottom: 30px; }
  .hero-one__title { font-size: 40px; }
  .hero-one__info { margin-top: 20px; }
  .hero-one__info .amonx-btn { padding: 12px 24px; }
}

/* ---------- Large phones (up to 767px) ---------- */
@media (max-width: 767px) {
  .hero-one { padding-top: 140px; --hero-pos: 65% center; }
  .hero-one__content { padding-bottom: 50px; }
  .hero-one__tagline { font-size: 16px; margin-bottom: 22px; }
  .hero-one__title { font-size: 34px; line-height: 1.15; }
  .hero-one__text { font-size: 16px; line-height: 1.65; }
  .hero-one__info { padding: 18px; }
  .rx-hero-info__text { flex: 1 1 100%; }

  
}

/* ---------- Phones (up to 575px) ---------- */
@media (max-width: 575px) {
  .hero-one { padding-top: 120px; }
  .hero-one__tagline { font-size: 14px; margin-bottom: 18px; }
  .hero-one__title { font-size: 30px; }
  .hero-one__text { font-size: 15px; line-height: 1.6; }
  .hero-one__info { padding: 16px; border-radius: 12px; }
  .rx-hero-info__btn { width: 100%; }
  .hero-one__info .amonx-btn {
    width: 100%;
    font-size: 14px;
    padding: 12px 18px;
    white-space: normal;   /* allow long button text to wrap instead of overflowing */
    text-align: center;
  }
}

/* ---------- Small phones (up to 400px) ---------- */
@media (max-width: 400px) {
  .hero-one { padding-top: 110px; }
  .hero-one__title { font-size: 27px; }
  .hero-one__text { font-size: 14.5px; }
  .hero-one__info .amonx-btn { font-size: 13px; padding: 11px 16px; }
}

.rx-footer__contact { margin: 14px 0 0 !important; }
.rx-footer__contact li { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.rx-footer__contact i { color: var(--secondary-color); font-size: 14px; width: 16px; text-align: center; flex: 0 0 auto; }
.rx-footer__contact a { word-break: break-word; }




 @media screen and (max-width:3300px) {
    .fixed-callout .hidden-xs {
        display: none !important;
    }

    .fixed-callout .visible-xs {
        display: block !important;
    }

    .fixed-callout .mbtn-callout a {
        display: inline-block;
        font-size: 0 !important;
        margin: 0 6px !important;
        padding: 0 !important;
    }

    .fixed-callout {
        padding: 5px 3px !important;
        width: 110px;
    }

    .fixed-callout .what-col img {
        width: 35px !important;
        padding: 2px 0 5px !important;
    }
}

.fixed-callout {
    right: 15px;
    bottom: 57px;
    padding: 13px 18px;
}

.fixed-callout img {
    width: 30px;
}

.fixed-callout h4 {
    font-size: 18px;
}

.fixed-callout {
    padding: 15px 20px;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0px 0px 30px rgb(0 0 0 / 30%);
    position: fixed;
    bottom: 110px;
    text-align: center;
    animation: move 6s infinite forwards;
    z-index: 9999;
}

.hidden-xs {
    display: block;
}

.mbtn-callout {
    display: none;
}

.fixed-callout .hidden-xs a {
    margin: 8px 0px;
}

.fixed-callout a {
    display: block;
    padding: 2px 0;
    font-size: 16px;
    color: #323232 !important;
    text-decoration: none;
}

@media (max-width: 767px) {
    .fixed-callout {
        display: none;
    }

    .small-screen-call-to-action {
        background: #1a709b;
        padding: 10px;
        position: fixed;
        bottom: 0;
        display: inline !important;
        z-index: 999;
        width: 100%;
    }

    .small-screen-call-to-action ul {
        display: flex;
        justify-content: center;
        padding-left: 0;
        margin-bottom: 0;
    }

    .small-screen-call-to-action ul li {
        background: #fff;
        padding: 5px 10px;
        margin-right: 10px;
        border-radius: 5px;
        width: -webkit-fill-available;
        justify-content: center;
        display: flex;
        font-size: 14px;
        align-items: center;
    }

    .small-screen-call-to-action ul li a i {
        color: var(--main-color);
        font-size: 20px;
        margin-right: 5px;
    }

    .small-screen-call-to-action ul li:last-child {
        margin-right: 0;
    }

    .small-screen-call-to-action ul li a {
        color: #000;
    }

}

@media screen and (max-width:3300px) {
    .fixed-callout .hidden-xs {
        display: none !important;
    }

    .fixed-callout .visible-xs {
        display: block !important;
    }

    .fixed-callout .mbtn-callout a {
        display: inline-block;
        font-size: 0 !important;
        margin: 0 6px !important;
        padding: 0 !important;
    }

    .fixed-callout {
        padding: 5px 3px !important;
        width: 110px;
    }

    .fixed-callout .what-col img {
        width: 35px !important;
        padding: 2px 0 5px !important;
    }
}

.fixed-callout {
    right: 15px;
    bottom: 57px;
    padding: 13px 18px;
}

.fixed-callout img {
    width: 37px;
}

.fixed-callout h4 {
    font-size: 18px;
}

.fixed-callout {
    padding: 15px 20px;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0px 0px 30px rgb(0 0 0 / 30%);
    position: fixed;
    bottom: 110px;
    text-align: center;
    animation: move 6s infinite forwards;
    z-index: 9999;
}

.hidden-xs {
    display: block;
}

.mbtn-callout {
    display: none;
}

.fixed-callout .hidden-xs a {
    margin: 8px 0px;
}

.fixed-callout a {
    display: block;
    padding: 2px 0;
    font-size: 16px;
    color: #323232 !important;
    text-decoration: none;
}

.small-screen-call-to-action {
    display: none;
}



@media (max-width:768px) {


    .rx-ph {
  
  padding: 120px 0 70px;
  
}

.rx-top {

    bottom: 65px;

}

.rx-footer__bottom {

     position: relative;
     bottom: 40px;

 }

 }

.hero-one { touch-action: pan-y; }


 .info {
	color: red !important;
}

#mail-status {
	color: green !important;
    
}

 /* ===== Clients carousel: keep logos inside the container ===== */
.client-carousel__carousel {
  overflow: hidden;
  max-width: 100%;
}

.client-carousel__carousel .owl-stage-outer {
  overflow: hidden;
}

.client-carousel__item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  padding: 0 10px;
  overflow: hidden;
}

.client-carousel__item .client-carousel__image {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 80px;
  object-fit: contain;
  margin: 0 auto;
}

.client-carousel {

    margin-top: 60px;
    
}