/* ==========================================================================
   RG Infotech design refresh (2026): site-wide layer
   Loaded on every page after style.css and responsive.css.
   Home page sections live in home.css.
   ========================================================================== */

:root {
  --rg-ink: #05070d;
  --rg-navy: #071634;
  --rg-blue: #0f9bff;
  --rg-blue-deep: #0a6fd8;
  --rg-sky: #9fdcff;
  --rg-orange: #f07a1a;
  --rg-line: rgba(255, 255, 255, .1);
  --rg-line-strong: rgba(255, 255, 255, .18);
  --rg-text: #f4f7fb;
  --rg-muted: rgba(228, 236, 248, .7);
  --rg-radius: 20px;
  --rg-radius-sm: 12px;
  --rg-display: PartakeDemo, "Instrument Serif", Georgia, serif;
  --rg-sans: "Manrope", "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --rg-ease: cubic-bezier(.22, 1, .36, 1);
}

html { scroll-behavior: smooth; }
body { text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
::selection { background: var(--rg-blue); color: #fff; }

/* ---------- Header ---------- */
.header_transparent {
  background: #000;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  padding-top: .55rem !important;
  padding-bottom: .55rem !important;
}
.header_transparent .logo img { max-width: 200px; height: auto; }
.NavMenu li a { font-family: var(--rg-sans); font-weight: 500; font-size: 15px; }
.NavMenu > li > a:not(.headerBtn) { opacity: .88; transition: opacity .2s; }
.NavMenu > li:hover > a:not(.headerBtn) { opacity: 1; }
.NavMenu li:hover { border-bottom-color: transparent; }
.headerBtn {
  text-transform: none; font-family: var(--rg-sans); font-weight: 700; font-size: 14px;
  padding: 12px 22px !important; margin-top: 0; box-shadow: none;
}
a.headerBtn.headerBtn--primary { background: var(--rg-blue); color: #fff !important; }
.headerBtn--primary::before, .headerBtn--primary::after { border-bottom-color: var(--rg-blue-deep); border-top-color: var(--rg-blue-deep); }

/* ---------- Pill button with round arrow (design system button) ---------- */
.nhBtn {
  display: inline-flex; align-items: center; gap: 0; padding: 0; border: 0; background: none;
  text-decoration: none; cursor: pointer; font-family: var(--rg-sans);
}
.nhBtn__label {
  display: inline-flex; align-items: center; height: 52px; padding: 0 26px;
  background: #fff; color: #05070d; border-radius: 999px; border: 1px solid rgba(5, 7, 13, .08);
  font-weight: 700; font-size: 15px; white-space: nowrap;
  transition: transform .35s var(--rg-ease), box-shadow .35s var(--rg-ease);
}
.nhBtn__arrow {
  position: relative; width: 52px; height: 52px; margin-left: -6px; border-radius: 50%;
  background: var(--rg-blue); flex: none; transition: transform .35s var(--rg-ease), background .25s;
}
.nhBtn__arrow::before {
  content: ""; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px;
  background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7l10 10M17 9v8H9'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7l10 10M17 9v8H9'/%3E%3C/svg%3E") center / contain no-repeat;
}
.nhBtn:hover .nhBtn__label { transform: translateX(-2px); box-shadow: 0 10px 26px -12px rgba(15, 155, 255, .6); color: #05070d; }
.nhBtn:hover .nhBtn__arrow { transform: rotate(-45deg); background: var(--rg-blue-deep); }
.nhBtn--sm .nhBtn__label { height: 40px; padding: 0 18px; font-size: 13px; }
.nhBtn--sm .nhBtn__arrow { width: 40px; height: 40px; }
.nhBtn--sm .nhBtn__arrow::before { width: 15px; height: 15px; }
.nhBtn--block { width: 100%; }
.nhBtn--block .nhBtn__label { flex: 1; justify-content: center; }

.nhRound {
  width: 38px; height: 38px; border-radius: 50%; display: inline-grid; place-items: center; flex: none;
  border: 1px solid rgba(255, 255, 255, .7); background: transparent; color: #fff; cursor: pointer;
  transition: background .2s, transform .2s;
}
.nhRound:hover { background: rgba(255, 255, 255, .12); }
.nhRound--blue { background: var(--rg-blue); border-color: var(--rg-blue); }
.nhRound--blue:hover { background: var(--rg-blue-deep); }
.nhRound--ghost { border-color: #d5d9e0; color: #8a93a3; }
.nhRound--ghost:hover { background: #f2f4f7; }

.nhStars {
  --r: 5; display: inline-block; width: 70px; height: 13px;
  background: linear-gradient(90deg, #f6b81a calc(var(--r) / 5 * 100%), rgba(255, 255, 255, .25) 0);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 13'%3E%3Cg%3E%3Cpath id='s' d='M6.5 0l1.9 4.1 4.5.5-3.3 3 .9 4.4-4-2.3-4 2.3.9-4.4L.1 4.6l4.5-.5z'/%3E%3Cuse href='%23s' x='14.2'/%3E%3Cuse href='%23s' x='28.4'/%3E%3Cuse href='%23s' x='42.6'/%3E%3Cuse href='%23s' x='56.8'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 13'%3E%3Cg%3E%3Cpath id='s' d='M6.5 0l1.9 4.1 4.5.5-3.3 3 .9 4.4-4-2.3-4 2.3.9-4.4L.1 4.6l4.5-.5z'/%3E%3Cuse href='%23s' x='14.2'/%3E%3Cuse href='%23s' x='28.4'/%3E%3Cuse href='%23s' x='42.6'/%3E%3Cuse href='%23s' x='56.8'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

/* ---------- Site-wide refresh for existing inner pages ---------- */
.button, .quate_Btn, .rqst_btn { border-radius: 999px; }
.button { font-family: var(--rg-sans); font-weight: 700; transition: transform .3s var(--rg-ease), box-shadow .3s var(--rg-ease); }
.button:hover { transform: translateY(-2px); }
.ondemandCard, .serviceCard, .service_card, .portfolio_card, .blog_card {
  border-radius: var(--rg-radius) !important;
  transition: transform .45s var(--rg-ease), box-shadow .45s var(--rg-ease);
}
.ondemandCard:hover, .serviceCard:hover, .service_card:hover, .portfolio_card:hover, .blog_card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -24px rgba(7, 22, 52, .35);
}
.modal-content { border-radius: var(--rg-radius); overflow: hidden; }
.form-control { border-radius: 12px; }
.form-control:focus { border-color: var(--rg-blue); box-shadow: 0 0 0 4px rgba(15, 155, 255, .15); }

/* ==========================================================================
   Quote section + footer (shared by every page)
   ========================================================================== */
.nfWrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 32px); }

.nfQuote { background: #000; color: #fff; padding: clamp(56px, 7vw, 96px) 0 48px; font-family: var(--rg-sans); }
.nfQuote__head { text-align: center; max-width: 820px; margin: 0 auto 44px; }
.nfQuote__head h2 {
  font-family: var(--rg-display); font-weight: 400; font-size: clamp(34px, 4.4vw, 64px); line-height: 1.05;
  color: #fff; -webkit-text-fill-color: #fff; background: none; margin: 0 0 16px;
}
.nfQuote__head p { color: rgba(255, 255, 255, .78); font-size: 14px; line-height: 1.6; margin: 0; }
.nfQuote__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }

.nfContact {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 22px;
  padding: 40px 32px; border-radius: 22px;
  background:
    radial-gradient(circle at 0 0, rgba(255, 255, 255, .22) 0 90px, transparent 91px),
    linear-gradient(135deg, #1aa0ff 0%, #0b6fd0 55%, #0a4fa3 100%);
}
.nfContact::after {
  content: "rG"; position: absolute; right: -6px; top: -14px; font: 800 150px/1 var(--rg-sans);
  color: rgba(255, 255, 255, .12); letter-spacing: -8px; pointer-events: none;
}
.nfContact__row { position: relative; z-index: 1; display: flex; gap: 14px; align-items: flex-start; color: #fff; text-decoration: none; font-size: 13px; line-height: 1.5; }
.nfContact__row:hover { color: #fff; }
.nfContact__row svg { width: 26px; height: 26px; flex: none; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.nfContact__row b { display: block; font-size: 17px; font-weight: 600; margin-bottom: 2px; }

.nfNews { padding: 26px 0 0; }
.nfNews h3 { font: 700 17px var(--rg-sans); color: #fff; margin: 0 0 4px; }
.nfNews p { font-size: 13px; color: rgba(255, 255, 255, .78); margin: 0 0 14px; }
.nfNews__field { display: flex; gap: 8px; }
.nfNews__field input {
  flex: 1; min-width: 0; height: 48px; padding: 0 20px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .7); background: transparent; color: #fff; font-size: 14px; outline: 0;
}
.nfNews__field input::placeholder { color: rgba(255, 255, 255, .6); }
.nfNews__field input:focus { border-color: var(--rg-blue); }
.nfNews__field button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .7); background: transparent; color: #fff; display: grid; place-items: center; }
.nfSocial { display: flex; gap: 14px; flex-wrap: wrap; padding: 0; margin: 18px 0 0; list-style: none; }
.nfSocial a {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .7); color: #fff; text-decoration: none; transition: background .2s, color .2s;
}
.nfSocial a:hover { background: #fff; color: #000; }

.nfForm {
  padding: 28px 28px 32px; border-radius: 22px; color: #fff;
  background: linear-gradient(160deg, #6b3209 0%, #a24a0b 45%, #d9690f 100%);
}
.nfForm > h2 {
  font: 700 clamp(24px, 2.4vw, 32px)/1.2 var(--rg-sans); color: #fff; -webkit-text-fill-color: #fff; background: none; margin: 0 0 10px;
}
.nfForm > p { font-size: 13px; color: rgba(255, 255, 255, .85); margin: 0 0 16px; }
.nfForm .form-control {
  background: transparent; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .55); border-radius: 0;
  color: #fff; padding: 10px 6px; font-size: 13px; box-shadow: none;
}
.nfForm .form-control::placeholder { color: rgba(255, 255, 255, .7); }
.nfForm .form-control:focus { border-bottom-color: #fff; box-shadow: none; background: transparent; }
.nfForm textarea.form-control { min-height: 46px; resize: vertical; }
.nfForm .iti { width: 100%; }
.nfForm .iti__selected-dial-code { color: #fff; }
.nfForm .text-danger { color: #ffe1c4 !important; font-size: 12px; }
.nfChecks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 16px; padding-top: 4px; }
.nfCheck { display: flex; align-items: center; gap: 10px; font-size: 13px; cursor: pointer; margin: 0; }
.nfCheck input {
  appearance: none; -webkit-appearance: none; width: 18px; height: 18px; border: 1px solid rgba(255, 255, 255, .8); border-radius: 4px;
  display: grid; place-items: center; flex: none; margin: 0; cursor: pointer;
}
.nfCheck input:checked { background: #fff; }
.nfCheck input:checked::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #a24a0b; border-bottom: 2px solid #a24a0b; transform: rotate(-45deg) translate(1px, -1px); }
.nfCaptcha { display: flex; align-items: center; gap: 12px; }
.nfForm .quateForm { background: none; padding: 0; border: 0; box-shadow: none; border-radius: 0; }
.nfCaptcha .form-control { flex: 1 1 auto; width: 100%; min-width: 0; }
.nfForm .captcha { background: none; flex: none; width: auto; }
.nfCaptcha .captcha img { height: 42px; width: auto; border-radius: 6px; display: block; }
.nfCaptcha .refreshCaptchs { width: 42px; height: 42px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .7); background: transparent; color: #fff; }
.nfForm .alert { border-radius: 12px; }

.nfFooter {
  position: relative; overflow: hidden; color: #fff; font-family: var(--rg-sans); padding: 40px 0 28px;
  background:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 46px 46px,
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 46px 46px,
    linear-gradient(180deg, #000 0%, #000 30%, #062a52 75%, #0a5aa8 100%);
}
.nfFooter::before { content: ""; position: absolute; inset: 0 0 auto; height: 45%; background: linear-gradient(#000, transparent); pointer-events: none; }
.nfCols { position: relative; display: grid; grid-template-columns: repeat(6, auto); justify-content: space-between; gap: 28px; }
.nfCols h3 { font: 700 15px var(--rg-sans); color: #fff; margin: 0 0 18px; }
.nfCols ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.nfCols a { color: rgba(255, 255, 255, .86); font-size: 13px; text-decoration: none; transition: color .2s; }
.nfCols a:hover { color: var(--rg-sky); }
.nfRobot { position: relative; display: block; width: 150px; margin: -150px 0 -40px; pointer-events: none; }
.nfBase {
  position: relative; margin-top: 40px; border-radius: 22px; overflow: hidden;
  background: rgba(3, 18, 40, .72); border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.nfBase__top { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; padding: 20px 26px; }
.nfBase__top img { width: 220px; height: auto; }
.nfBase__top p { margin: 0; font-size: 13px; line-height: 1.6; color: rgba(255, 255, 255, .88); text-align: justify; }
.nfBase__mid { border-top: 1px solid rgba(255, 255, 255, .12); padding: 22px 26px; text-align: center; }
.nfBase__mid h3 { font: 700 16px var(--rg-sans); text-transform: uppercase; margin: 0 0 12px; color: #fff; }
.nfBase__mid p { font-size: 13px; line-height: 1.6; color: rgba(255, 255, 255, .85); margin: 0 0 16px; }
.nfBase__row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 28px; font-size: 13px; color: rgba(255, 255, 255, .8); }
.nfBase__row a { color: #fff; text-decoration: underline; }
.nfBase__row b { color: #fff; font-weight: 600; }
.nfBase__row .nfGold { color: #f6b81a; }
.nfBase__row .nhStars { width: 90px; height: 17px; }
.nfBase__badges { display: inline-flex; gap: 8px; }
.nfBase__badges img { height: 22px; width: auto; }
.nfBase__copy { border-top: 1px solid rgba(255, 255, 255, .12); margin: 0; padding: 14px 26px; text-align: center; font-size: 13px; color: rgba(255, 255, 255, .85); }

@media (max-width: 991px) {
  .nfQuote__grid { grid-template-columns: 1fr; }
  .nfCols { grid-template-columns: repeat(3, 1fr); }
  .nfBase__top { grid-template-columns: 1fr; gap: 14px; }
  .nfRobot { display: none; }
}
@media (max-width: 575px) {
  .nfCols { grid-template-columns: repeat(2, 1fr); }
  .nfChecks { grid-template-columns: repeat(2, 1fr); }
  .nfContact { padding: 30px 22px; }
  .nfForm { padding: 22px 18px 26px; }
}

/* ---------- Scroll reveal (class added by modern.js) ---------- */
.rg-reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--rg-ease), transform .8s var(--rg-ease); }
.rg-reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rg-reveal { opacity: 1; transform: none; }
}
