@font-face {
  font-family: "Roboto";
  src:
    url("../fonts/Roboto-Light.woff2") format("woff2"),
    url("../fonts/Roboto-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src:
    url("../fonts/Roboto-Regular.woff2") format("woff2"),
    url("../fonts/Roboto-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src:
    url("../fonts/Roboto-Medium.woff2") format("woff2"),
    url("../fonts/Roboto-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src:
    url("../fonts/Roboto-SemiBold.woff2") format("woff2"),
    url("../fonts/Roboto-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src:
    url("../fonts/Roboto-Bold.woff2") format("woff2"),
    url("../fonts/Roboto-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src:
    url("../fonts/Roboto-ExtraBold.woff2") format("woff2"),
    url("../fonts/Roboto-ExtraBold.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src:
    url("../fonts/Roboto-Black.woff2") format("woff2"),
    url("../fonts/Roboto-Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ------------------------------------------------------------
   2. CSS Variables
   ------------------------------------------------------------ */
:root {
  /* Colors */
  --primary-color: #3282eb;
  --primary-dark: #195db6;
  /* button fill */
  --secondary-color: #122e52;
  --dark-blue: #0b141e;
  --dark-bg: #04070b;
  --dark-bg-2: #0f1018;
  /* hero canvas */
  --light-blue: #e0e9f5;
  --heading-color: #181818;
  --text-color: #101828;
  --text-light: #667085;
  --white: #ffffff;
  --bg-color: #ffffff;
  --bg-light: #f5f8fd;
  --border-color: #dce6f4;
  --light-bg-color: #f3f8ff;

  /* Typography */
  --font-base: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Vertical section rhythm (overridden per breakpoint in responsive.css) */
  --section-py: 42px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-pill: 100px;

  /* Shadows */
  --shadow-sm: 0 4px 14px rgba(16, 24, 40, 0.06);
  --shadow-md: 0 12px 32px rgba(18, 46, 82, 0.1);
  --shadow-lg: 0 24px 60px rgba(18, 46, 82, 0.16);

  /* Gradients */
  --gradient-hero-fade: linear-gradient(90deg,
      #03080b 0%,
      rgba(3, 8, 11, 0.94) 44%,
      rgba(3, 8, 11, 0) 100%);
  --gradient-white: linear-gradient(135deg,
      #f8faff 0%,
      #f7f4ff 60%,
      #fbfdff 100%);
}

/* ------------------------------------------------------------
   3. Reset / base elements
   ------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* Offset anchor targets so they clear the sticky header (≈ its height) */
section[id],
footer[id] {
  scroll-margin-top: 90px;
}

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  -webkit-font-smoothing: antialiased;
  /* `clip` contains horizontal overflow (full-bleed sliders, 100vw rounding)
     WITHOUT turning <body> into a scroll container — `hidden` would do the
     latter and cancel position: sticky on the header. */
  overflow-x: clip;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 600;
  color: var(--heading-color);
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

img,
picture,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.text-lg {
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);
  font-weight: 400;
  line-height: 1.6;
}

/* ------------------------------------------------------------
   6. Section + headings
   ------------------------------------------------------------ */
.site-section {
  padding-block: var(--section-py);
}

.site-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 0.8px solid rgba(91, 127, 255, 0.22);
  background: rgba(91, 127, 255, 0.08);
  color: var(--primary-color);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.site-title {
  font-size: clamp(1.2rem, 1.2rem + 2.4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--heading-color);
}

.site-subtitle {
  font-size: clamp(1rem, 0.97rem + 0.2vw, 1.125rem);
  line-height: 1.6;
}

.section-grediunt-tb {
  background: linear-gradient(180deg,
      rgba(25, 93, 182, 0.16) 0%,
      rgba(25, 93, 182, 0) 100%);
}

.section-grediunt-bt {
  background: linear-gradient(360deg,
      rgba(25, 93, 182, 0.16) 0%,
      rgba(25, 93, 182, 0.01) 100%);
}

.light-bg {
  background-color: var(--light-bg-color);
}

.dark-bg {
  background-color: var(--dark-bg) !important;
}

.icon-light-bg {
  background-color: #d1e0ff;
}

.btm-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(50, 130, 235, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(50, 130, 235, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;

  mask-image: linear-gradient(to top, #000 0%, #000 50%, transparent 100%);

  pointer-events: none;
}

/* ------------------------------------------------------------
   7. Buttons
   ------------------------------------------------------------ */
.site-btn,
.site-btn-secondary,
.site-btn-outline,
.gform_footer button.gform_button,
.gform_footer input[type="submit"].gform_button,
.gform_footer input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.4;
  border: 1px solid transparent;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.25s ease;
  white-space: nowrap;
  cursor: pointer;
}

.gform_footer button.gform_button,
.gform_footer input[type="submit"].gform_button,
.gform_footer input[type="submit"] {
  width: 100%;
}

.site-btn,
.gform_footer button.gform_button,
.gform_footer input[type="submit"].gform_button,
.gform_footer input[type="submit"] {
  background: var(--primary-dark);
  color: var(--white);
}

.site-btn:hover,
.gform_footer button.gform_button:hover,
.gform_footer input[type="submit"].gform_button:hover,
.gform_footer input[type="submit"]:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.primary-color {
  color: var(--primary-color) !important;
}

.site-btn-secondary {
  background: var(--secondary-color);
  color: var(--white);
}

.site-btn-secondary:hover {
  background: var(--dark-blue);
  color: var(--white);
  transform: translateY(-2px);
}

.site-btn-outline,
.service-chip:hover {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.site-btn-outline:hover {
  background: var(--primary-color);
  color: var(--white);
}

/* ------------------------------------------------------------
   8. Reusable helpers (icon boxes, cards, surfaces)
   ------------------------------------------------------------ */
.card-ico,
.avatar,
.case-tech,
.case-nav,
.mega-cat-ico,
.mega-link-ico,
.service-tab-ico,
.stat-ico,
.tech-tab-count,
.icon-ico,
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Inline content icon (blog meta, list bullets, etc.) */
.icon {
  width: 18px;
  height: 18px;
}

/* Cards & surfaces */
.services-card p {
  margin-bottom: 20px;
}

.site-card {
  background: var(--gradient-white);
  border: 2px solid var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
}

/* Reusable lift-on-hover for any card/surface */
.site-card-hover {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.site-card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.services-grid-section .card-text p {
  margin-bottom: 15px;
}

.services-grid-section .card-text ul {
  margin: inherit;
  padding-left: 30px;
  list-style: inherit;
  margin-bottom: 20px;
}

.card-text {
  font-size: 0.9375rem;
  color: #000;
  line-height: 1.55;
  margin-top: 6px;
}

.bg-gry {
  background-color: var(--bg-light);
}

.border-site {
  border: 1px solid var(--border-color);
}

.border-site-dark {
  border: 2px solid rgba(255, 255, 255, 0.1);
}

/* Small square dot used inside eyebrows */
.dot-tag {
  width: 8px;
  height: 8px;
  border-radius: 10px;
  background: var(--primary-color);
}

.card-title {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--heading-color);
}

.card-ico {
  width: 56px;
  height: 56px;
  color: var(--primary-color);
  margin-bottom: 18px;
}

.card-ico img {
  width: 36px;
  height: 36px;
}

.linebg-section {
  position: relative;
  overflow: hidden;
}

.grediunt-industries {
  background: linear-gradient(135deg,
      #155dfc 0%,
      #4f39f6 50%,
      #7f22fe 100%) !important;
}

/* Avatar (initials) */
.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #fff;
  font-weight: 600;
  font-size: 1.0625rem;
  background: linear-gradient(135deg,
      var(--primary-color),
      var(--secondary-color));
}

.avatar--a {
  background: linear-gradient(135deg, #3282eb, #122e52);
}

.avatar--b {
  background: linear-gradient(135deg, #6a5acd, #3282eb);
}

.avatar--c {
  background: linear-gradient(135deg, #ff7b54, #d33929);
}

/* Star rating */
.stars {
  display: inline-flex;
  gap: 3px;
}

.stars svg {
  width: 18px;
  height: 18px;
}

.stars--sm svg {
  width: 15px;
  height: 15px;
}

.stars .star-fill {
  color: #ffa928;
}

.stars .star-empty {
  color: #d6dbe6;
}

/* ------------------------------------------------------------
   9. Animations
   ------------------------------------------------------------ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.reveal {
  opacity: 0;
}

.reveal.is-visible {
  animation: fadeUp 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal.is-visible {
    opacity: 1;
    animation: none;
  }
}

/* ------------------------------------------------------------
   10. Forms
   ------------------------------------------------------------ */
.site-input,
.site-textarea,
.site-select,
body .gform_wrapper.gravity-theme .gfield input[type="text"],
body .gform_wrapper.gravity-theme .gfield input[type="email"],
body .gform_wrapper.gravity-theme .gfield input[type="tel"],
body .gform_wrapper.gravity-theme .gfield input[type="number"],
body .gform_wrapper.gravity-theme .gfield input[type="url"],
body .gform_wrapper.gravity-theme .gfield textarea {
  width: 100%;
  padding: 10px 10px 10px 20px !important;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-color);
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

textarea {
  border-radius: 20px !important;
}

.site-input::placeholder,
.site-textarea::placeholder,
input::placeholder,
textarea::placeholder {
  color: var(--text-light);
  font-size: 15px !important;
}

.site-input:focus,
.site-textarea:focus,
.site-select:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="url"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(50, 130, 235, 0.15);
}

.site-textarea {
  resize: vertical;
  min-height: 80px;
}

.site-label,
.gfield_label,
.gform_required_legend {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--heading-color);
}

.service-chip.arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.service-chip.arrow::before {
  content: "";
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background: url("../images/arrow-right.svg") center/contain no-repeat;
}

.card {
  padding: 20px;
  border-radius: 20px;
  height: 100%;
  transition: 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.text-sub {
  font-size: 14px;
  color: #979797;
}

.tabs-wrapper {
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.tabs-wrapper::-webkit-scrollbar {
  display: none;
}

/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) #f1f5f9;
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 100px;
}

::-webkit-scrollbar-thumb:hover {
  opacity: 0.9;
}

/* on scroll model */

#projectModal .modal-content {
  background: #fff;
  border-radius: 24px;
}

#projectModal .btn-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f5f5f5;
  opacity: 1;
}

#projectModal .service-chip {
  display: flex;
  align-items: center;
  gap: 12px;
}

#projectModal .service-chip::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #2d6cff;
  border-radius: 50%;
  flex-shrink: 0;
}

.dropdown-toggle::after {
  display: none;
}