/* ============================================================
   1. CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --pink: #ed2e72;
  --blue: #009fed;
  --dark-blue: #1561ed;
  --navy: #0f153c;
  --deep-navy: #01062a;
  --accent-blue: #218dc2;
  --green: #60d769;
  --bg: #f8faff;
  --white: #ffffff;
  --black: #000000;
  --text-muted: #918f8f;
  --border: #ededed;

  --gradient-brand: linear-gradient(178.81deg, #ed2e72 0%, rgba(237, 46, 114, 0) 100%),
    linear-gradient(to left, #009fed, #009fed);
  --gradient-icon: linear-gradient(230.92deg, rgba(130, 130, 130, 1) 0%, rgba(0, 0, 0, 1) 100%);

  --shadow-card: 0 2px 49.7px rgba(19, 42, 97, 0.11);
  --shadow-soft: 0 4px 44.6px rgba(217, 229, 255, 0.45);
  --shadow-nav: 0 4px 44.6px rgba(217, 229, 255, 0.45);

  --radius-card: 30px;
  --radius-btn: 50px;
  --radius-tag: 20px;

  --pad-x: 80px;
  --max-w: 1440px;

  --font-body: "SpaceGrotesk-Regular", "Space Grotesk", sans-serif;
  --font-bold: "SpaceGrotesk-Bold", "Space Grotesk", sans-serif;
  --font-reg: "Geist-Regular", "Geist", sans-serif;
  --font-xb: "Geist-ExtraBold", "Geist", sans-serif;
}

/* ============================================================
   2. RESET
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

button {
  border: none;
  cursor: pointer;
  background: none;
  font: inherit;
}

input {
  border: none;
  outline: none;
  font: inherit;
}

ul,
ol {
  list-style: none;
}

/* ============================================================
   3. LAYOUT UTILITIES
   ============================================================ */
.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ============================================================
   4. BUTTONS — FIX 7: Larger arrow icon
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 10px 10px 10px 20px;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  transition: opacity .2s;
  white-space: nowrap;
  border: 1px solid transparent;
}

.btn:hover {
  opacity: .88;
}

/* FIX 7: Larger arrow icon container */
.btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

/* FIX 7: Bigger SVG arrow */
.btn__icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn--green {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 5px 29.3px rgba(210, 255, 213, 1);
}

.btn--pink {
  background: var(--pink);
  color: var(--white);
  box-shadow: 0 5px 29.3px rgba(210, 255, 213, 1);
}

.btn--black {
  background: var(--black);
  color: var(--white);
  box-shadow: 0 4px 26.3px rgba(192, 212, 255, 0.35);
}

.btn--red {
  background: var(--pink);
  color: var(--white);
  box-shadow: 0 4px 23.9px rgba(37, 14, 77, 0.25), 0 4px 26.3px rgba(192, 212, 255, 0.35);
}

.btn__wa {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}

/* ============================================================
   5. NAVBAR
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-nav);
  width: 100%;
}

.navbar__wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 100px;
  padding: 0 var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
}

.navbar__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: 102px;
  height: 39px;
  overflow: hidden;
}

.navbar__logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 45px;
}

.navbar__links a {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--black);
  transition: opacity .2s;
}

.navbar__links a:hover {
  opacity: .6;
}

.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: .3s;
}

/* Mobile drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: var(--white);
  z-index: 999;
  flex-direction: column;
  padding: 20px 24px;
  gap: 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .12);
  border-top: 1px solid #f0f0f0;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--black);
  padding: 12px 0;
  border-bottom: 1px solid #f5f5f5;
  display: block;
}

.mobile-nav a:last-child {
  border-bottom: none;
}

.mobile-nav__cta {
  background: var(--green) !important;
  border-radius: var(--radius-btn) !important;
  padding: 12px 20px !important;
  color: var(--white) !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  border-bottom: none !important;
}

/* ============================================================
   6. HERO SECTION — FIX 1: Recreated side design element
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  min-height: 770px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;

  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);

  position: relative;
  z-index: 2;
}


/* Hero background image */
.hero__bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 73%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  z-index: 0;
  pointer-events: none;
}

/* Left content */
.hero__content {
  padding: 100px 0 60px;
  position: relative;
  z-index: 2;
}

.hero__headline {
  font-size: 64px;
  line-height: 1.1;
  color: #222836;
  margin-bottom: 20px;
}

.hero__headline .light {
  font-family: var(--font-body);
  font-weight: 400;
}

.hero__headline .bold {
  font-family: var(--font-bold);
  font-weight: 700;
}

.hero__subtext {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.69;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 560px;
}

/* Right visual — FIX 1: Precisely layered design element */
.hero__visual {
  position: relative;
  width: 600px;
  height: 720px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero__person {
  position: relative;
  top: -50px;
  width: 420px;
  height: auto;
  z-index: 2;
}


/* FIX 1: Recreated hero side design elements */
.hero__deco {
  position: absolute;
  pointer-events: none;
}

/* Large pink-to-blue rounded rectangle blob */
.hero__deco--rect1 {
  position: absolute;
  width: 488px;
  height: 488px;
  border-radius: 140px;
  background: linear-gradient(90deg, #009fed 0%, #ed2e72 100%);
  opacity: 1;
  box-shadow: inset 0 0 8px 5px #ffffff;

  top: 150px;
  left: 50%;
  transform: translateX(-50%) rotate(-18deg);

  z-index: 0;
}


/* Small orange-purple cube bottom-left */
.hero__deco--cube1 {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ff891d, #ce0aff);
  position: absolute;
  bottom: 200px;
  left: 40px;
  transform: rotate(-15deg);
  z-index: 3;
}

.hero__deco--cube2 {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(180deg, #ff891d, #ce0aff);
  position: absolute;
  top: 100px;
  right: 40px;
  transform: rotate(22deg);
  z-index: 3;
}


/* Floating tech logo cards */
.hero__logo-card {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  z-index: 4;
}

.hero__logo-card--tf {
  width: 80px;
  height: 80px;
  top: 230px;
  right: 65px;
  transform: rotate(-40deg);
  overflow: hidden;
}

.hero__logo-card--tf img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: rotate(42.718deg);
}

.hero__logo-card--pt {
  width: 60px;
  height: 60px;
  top: 120px;
  right: 90px;
  background: #000;
}

.hero__logo-card--pt img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.hero__logo-card--sm {
  width: 55px;
  height: 55px;
  top: 150px;
  right: 8px;
}

.hero__logo-card--sm img {
  width: 60%;
  height: 60%;
  object-fit: contain;
}

.hero__logo-card--r {
  width: 50px;
  height: 50px;
  top: 190px;
  left: 90px;
  transform: rotate(-20deg);
}

.hero__logo-card--r img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.hero__logo-card--oa {
  width: 56px;
  height: 56px;
  top: 60px;
  right: -60px;
}

.hero__logo-card--oa img {
  width: 64%;
  height: 64%;
  object-fit: contain;
}

/* Review cards */
.hero__review {
  position: absolute;
  background: #fff;
  border-radius: 60px;
  padding: 8px 16px 8px 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 30px 40px rgba(45, 83, 219, 0.12);
  z-index: 5;
}

.hero__review--1 {
  bottom: 330px;
  left: -10px;
}

.hero__review--2 {
  bottom: 130px;
  right: 0px;
}

.hero__review__avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px solid var(--white);
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 6px 3px rgba(45, 83, 219, 0.1);
}

.hero__review__bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero__review__bar {
  height: 12px;
  border-radius: 50px;
  padding: 5px;
}

.bar--dark1 {
  width: 118px;
  background: rgba(0, 0, 0, 0.49);
}

.bar--short1 {
  width: 85px;
  background: rgba(129, 129, 129, 0.47);
  height: 9px;
}

.bar--blue {
  width: 118px;
  background: #1561ed;
}

.bar--green {
  width: 85px;
  background: #55ca95;
  height: 9px;
}

/* ============================================================
   7. WHY ROYAL TECHNOLOGIES
   FIX 2: ../images/hero2-background.png behind whole section
   FIX 3: White text box moved below girl image
   ============================================================ */
.why {
  /* FIX 2: Background image on entire section */
  background: url('../images/hero2-background.png') center center / cover no-repeat;
  position: relative;
}

.why__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px var(--pad-x);
}

/* Left visual — FIX 3: Tagline box below the girl */
.why__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.why__person {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 567 / 564;
  object-fit: cover;
  border-radius: 500px 500px 0 0;
  display: block;
}

/* FIX 3: Tagline now sits below the image, not absolutely positioned */
.why__tagline {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 20px 24px;
  max-width: 450px;
  box-shadow: 32px 32px 15.6px rgba(164, 174, 197, 0.19);
  position: static;
  /* removed absolute */
  margin-left: 25px;
  margin-top: -30px;
  text-align: center;
}

.why__tagline-sub {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--accent-blue);
  line-height: 1.17;
  font-weight: 400;
}

.why__tagline-main {
  font-family: var(--font-bold);
  font-size: 28px;
  font-weight: 700;
  color: var(--black);
  line-height: 1.17;
}

/* Right content */
.why__content {}

.why__label {
  font-family: var(--font-body);
  font-size: 24px;
  color: var(--accent-blue);
  font-weight: 400;
  margin-bottom: 2px;
}

.why__title {
  font-family: var(--font-bold);
  font-size: 48px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 25px;
}

.why__cards {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.why__card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 10px 13px 15.6px rgba(164, 174, 197, 0.19);
}

.why__card-icon {
  background: var(--gradient-icon);
  border-radius: 15px;
  padding: 10px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12.4px rgba(0, 0, 0, 0.11);
}

.why__card-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.why__card-text {
  font-family: var(--font-bold);
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
}

/* ============================================================
   8. CORE SERVICES — FIX 4: Center-align left content + button
   ============================================================ */
.services {
  background: var(--bg);
}

.services__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px var(--pad-x);
}

/* FIX 4: Center the header layout */
.services__header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
  text-align: left;
}

.services__hgroup {}

/* FIX 4: Center-align the label and title */
.services__label {
  font-family: var(--font-body);
  font-size: 24px;
  color: var(--accent-blue);
  font-weight: 400;
  text-align: left;
}

.services__title {
  font-family: var(--font-bold);
  font-size: 48px;
  font-weight: 700;
  color: var(--black);
  text-align: left;
}

.services__desc {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.66;
  color: var(--text-muted);
  max-width: 380px;
  text-align: left;
}

.services__grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.services__row {
  display: flex;
  gap: 10px;
}

.svc-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
  box-shadow: var(--shadow-card);
  flex: 1;
  min-width: 0;
}

.svc-card img {
  flex-shrink: 0;
  object-fit: contain;
}

.svc-card__title {
  font-family: var(--font-bold);
  font-size: 24px;
  font-weight: 700;
  color: var(--black);
}

.svc-card__desc {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.61;
  color: var(--text-muted);
}

/* FIX 4: Center the footer with "Let's Talk" button */
.services__footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
  text-align: left;
}

.services__footer-text {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--black);
  line-height: 1.61;
  text-align: center;
}

/* ============================================================
   9. INDUSTRIES WE SERVE — FIX 5: Larger center image
   ============================================================ */
.industries {
  background: var(--bg);
  padding: 80px 0;
}

.industries__title {
  font-family: var(--font-bold);
  font-size: 48px;
  font-weight: 700;
  color: var(--black);
  text-align: center;
  margin-bottom: 60px;
}

.industries__layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0 40px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.industries__col {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.industries__col--left .industry-item {
  text-align: right;
  align-items: flex-end;
}

.industries__col--right .industry-item {
  text-align: left;
  align-items: flex-start;
}

.industry-item {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.industry-item__num {
  font-family: "Geist-Bold", var(--font-bold);
  font-size: 64px;
  font-weight: 700;
  line-height: 1.61;
  height: 50px;
  background: linear-gradient(180deg, rgba(229, 229, 229, 1) 0%, rgba(249, 249, 249, 1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  align-items: center;
}

.industry-item__num--right {
  justify-content: flex-start;
}

.industry-item__num--left {
  justify-content: flex-end;
}

.industry-item__label {
  font-family: var(--font-bold);
  font-size: 24px;
  font-weight: 700;
  color: var(--black);
}

/* FIX 5: Larger center image */
.industries__center img {
  width: 500px;
  height: 500px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* ============================================================
   10. TESTIMONIALS
   ============================================================ */
.testimonials {
  background: var(--bg);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.testimonials::before {
  content: '';
  position: absolute;
  left: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 592px;
  height: 592px;
  border-radius: 563px;
  background: var(--gradient-brand);
  opacity: 0.26;
  transform: translateY(-50%) rotate(105deg);
  filter: blur(41.2px);
  pointer-events: none;
  z-index: 0;
}

.testimonials__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  position: relative;
  z-index: 1;
}

.testimonials__header {
  text-align: center;
  margin-bottom: 40px;
}

.testimonials__label {
  font-family: var(--font-body);
  font-size: 24px;
  color: var(--accent-blue);
  font-weight: 400;
}

.testimonials__title {
  font-family: var(--font-bold);
  font-size: 48px;
  font-weight: 700;
  color: var(--black);
}

.testimonials__grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonials__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tcard {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.tcard__avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 6px solid #f0f0f0;
  object-fit: cover;
  flex-shrink: 0;
}

.tcard__stars {
  display: flex;
  gap: 1px;
}

.tcard__stars svg {
  width: 18px;
  height: 18px;
  fill: #ffc107;
}

.tcard__quote {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.66;
  color: var(--text-muted);
}

.tcard__name {
  font-family: var(--font-bold);
  font-size: 20px;
  line-height: 1.63;
  font-weight: 700;
  color: var(--black);
}

/* ============================================================
   11. TAGLINE CARD
   ============================================================ */
.tagline-section {
  background: var(--bg);
  padding: 0 var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto 40px;
}

.tagline-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 20px 24px;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  box-shadow: 32px 32px 15.6px rgba(164, 174, 197, 0.19);
  width: 37%;
  min-width: 380px;
}

.tagline-card__text {
  text-align: center;
}

.tagline-card__sub {
  font-family: var(--font-body);
  font-size: 22px;
  color: var(--accent-blue);
  font-weight: 400;
  line-height: 1.17;
}

.tagline-card__main {
  font-family: var(--font-bold);
  font-size: 36px;
  font-weight: 700;
  color: var(--black);
  line-height: 1.17;
}

/* ============================================================
   12. CONTACT SECTION
   FIX 8: Left-aligned heading, girl image below text
   ============================================================ */
.contact {
  background: var(--bg);
  padding: 80px 0;
  position: relative;
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* FIX 8: Left visual with girl below decorative elements */
/* =========================
   CONTACT SECTION
========================= */

.contact {
  padding: 100px 0;
  position: relative;
}

.contact__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

/* =========================
   LEFT VISUAL (ART STYLE)
========================= */

.contact__visual {
  position: relative;
  width: 480px;
  height: 420px;
}

/* Big gradient circle */
.contact__bg-art {
  position: absolute;
  width: 360px;
  top: 40px;
  left: 40px;
  z-index: 1;
}

/* Decorative rectangle / fade */
.contact__bg-rect {
  position: absolute;
  width: 300px;
  bottom: 0;
  left: 80px;
  z-index: 2;
}

/* Girl image */
.contact__person {
  position: absolute;
  width: 320px;
  bottom: 0;
  left: 100px;
  z-index: 3;
  object-fit: contain;
}

/* Optional floating balls (if separate images) */
.contact__visual::before,
.contact__visual::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ff7ad9, #6c63ff);
  z-index: 4;
}

.contact__visual::before {
  top: 20px;
  left: 10px;
}

.contact__visual::after {
  top: 140px;
  right: 40px;
}


/* =========================
   RIGHT CONTENT
========================= */

.contact__right {
  flex: 1 1 520px;
}

.contact__sublabel {
  font-size: 22px;
  color: var(--accent-blue);
  margin-bottom: 6px;
  text-align: left;
}

.contact__title {
  font-size: 46px;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: left;
}

/* =========================
   CARD
========================= */

.contact__card {
  background: var(--white);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* =========================
   FORM
========================= */

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.form-label {
  font-size: 15px;
  font-weight: 600;
}

.form-input {
  width: 100%;
  height: 50px;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 0 16px;
  font-size: 15px;
  transition: 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--dark-blue);
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  gap: 15px;
  flex-wrap: wrap;
}

.form-footer-hint {
  font-size: 14px;
  flex: 1;
}

.btn--pink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* =========================
   CONSENT SECTION
========================= */

.form-consent {
  margin-top: 15px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.consent-text {
  color: #666;
}

.consent-text,
.consent-note {
  font-size: 13px;
  line-height: 1.5;
}

.consent-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  cursor: pointer;
  color: #666;
}

.consent-checkbox input {
  margin-top: 4px;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* =========================
   WHATSAPP STRIP
========================= */

.form-wa-strip {
  margin-top: 25px;
  background: #e4ffe3;
  border-radius: 40px;
  padding: 10px 20px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.form-wa-strip img {
  width: 36px;
  height: 36px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {
  .contact__inner {
    flex-direction: column;
    text-align: center;
  }

  .contact__right {
    text-align: center;
  }

  .contact__sublabel,
  .contact__title {
    text-align: center;
  }

  .contact__visual {
    margin-bottom: 40px;
  }

  .contact__bg-art,
  .contact__bg-rect {
    position: relative;
    top: auto;
  }
}

@media (max-width: 576px) {
  .contact__title {
    font-size: 32px;
  }

  .contact__bg-art {
    width: 260px;
  }

  .contact__bg-rect {
    width: 200px;
  }

  .contact__person {
    width: 220px;
  }
}


/* ============================================================
   13. BRANDS / PORTFOLIO — FIX 6: Logos arranged around layout
   ============================================================ */
.brands {
  background: var(--bg);
  padding: 60px 0;
}

.brands__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* FIX 6: Arrange logos around a central badge */
.brands__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 48px;
}

.brands__badge {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 8px;
}

.brands__label {
  font-family: var(--font-body);
  font-size: 24px;
  color: var(--accent-blue);
  font-weight: 400;
  text-align: center;
}

.brands__title {
  font-family: var(--font-bold);
  font-size: 48px;
  font-weight: 700;
  color: var(--black);
  text-align: center;
  max-width: 386px;
}

/* FIX 6: Logos surrounding the badge/title in a grid layout */
.brands__layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px 40px;
}

.brands__left-logos,
.brands__right-logos {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.brands__left-logos {
  align-items: flex-end;
}

.brands__right-logos {
  align-items: flex-start;
}

.brands__left-row,
.brands__right-row {
  display: flex;
  gap: 16px;
  align-items: center;
}

.brands__left-row {
  justify-content: flex-end;
}

.brands__right-row {
  justify-content: flex-start;
}

.brands__center-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.brand-item {
  border: 1px solid var(--border);
  border-radius: 19px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  transition: box-shadow .2s;
  min-height: 72px;
}

.brand-item:hover {
  box-shadow: var(--shadow-soft);
}

.brand-item--dark {
  background: var(--black);
}

.brand-item img {
  object-fit: contain;
  max-height: 60px;
  max-width: 160px;
}

/* Bottom row of logos spanning full width */
.brands__bottom-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
  flex-wrap: wrap;
}

/* ============================================================
   14. TECH STACK SNAPSHOT
   ============================================================ */
.techstack {
  background: var(--bg);
  padding: 60px 0;
}

.techstack__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.techstack__title {
  font-family: var(--font-bold);
  font-size: 48px;
  font-weight: 700;
  color: var(--black);
  text-align: center;
}

.techstack__card {
  width: 100%;
  background: var(--white);
  border-radius: 33px;
  padding: 20px;
  box-shadow: 0 2px 42.1px rgba(78, 122, 223, 0.11);
}

.ts-grid {
  display: flex;
  flex-direction: row;
  gap: 14px;
  width: 100%;
}

.ts-left-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1.62;
  min-width: 0;
}

.ts-top-row {
  display: flex;
  flex-direction: row;
  gap: 14px;
  flex: 0 0 auto;
}

.ts-right-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.ts-panel {
  border-radius: 20px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.ts-panel--light {
  background: #f8faff;
}

.ts-panel--grad {
  background: linear-gradient(180deg, rgba(237, 46, 114, 1) 0%, rgba(0, 159, 237, 1) 100%);
}

.ts-frontend {
  flex: 1;
  min-height: 195px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ts-panel__title {
  font-family: var(--font-bold);
  font-size: 36px;
  font-weight: 700;
  color: var(--black);
  line-height: 1.1;
  margin-bottom: 12px;
}

.ts-panel__desc {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.58;
  flex: 1;
}

.ts-arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--black);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s;
  text-decoration: none;
  box-shadow: 0 4px 26.3px rgba(192, 212, 255, 0.35);
}

.ts-arrow:hover {
  background: #f0f0f0;
}

/* FIX 7: Larger arrow in ts-arrow too */
.ts-arrow svg {
  width: 18px;
  height: 18px;
  stroke: var(--black);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ts-arrow--dark {
  background: rgba(0, 0, 0, 0.5);
  border-color: transparent;
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 2;
}

.ts-arrow--dark svg {
  stroke: var(--white);
}

.ts-cms {
  flex: 1;
  min-height: 195px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ts-cms__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.ts-cms__icon {
  width: 78px;
  height: 78px;
  border-radius: 16px;
  background: linear-gradient(112.65deg, rgba(0, 77, 115, 1) 0%, rgba(0, 159, 237, 1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ts-cms__icon svg {
  width: 48px;
  height: 48px;
  fill: none;
}

.ts-badge {
  display: inline-flex;
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.29);
  border-radius: 50px;
  padding: 5px 14px;
  font-family: var(--font-bold);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.ts-analytics {
  flex: 1;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ts-analytics .ts-panel__title {
  font-size: 48px;
  color: var(--white);
}

.ts-analytics .ts-panel__desc {
  color: var(--white);
  max-width: 90%;
}

.ts-analytics-img {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 52%;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

.ts-mobile {
  flex-shrink: 0;
  height: 430px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ts-mobile .ts-panel__title {
  font-size: 32px;
  color: var(--white);
  max-width: 220px;
  margin-bottom: 0;
}

.ts-mobile-img {
  position: absolute;
  bottom: 0;
  right: -4px;
  width: 65%;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

.ts-backend {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 20px;
}

.ts-backend__text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.ts-backend__img {
  width: 214px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.ts-backend__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.ts-view-btn {
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-btn);
  padding: 10px 10px 10px 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 16px;
  cursor: pointer;
  transition: opacity .2s;
  box-shadow: 0 4px 26.3px rgba(192, 212, 255, 0.35);
  text-decoration: none;
}

.ts-view-btn:hover {
  opacity: .85;
}

.ts-view-btn__icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* FIX 7: Larger arrow */
.ts-view-btn__icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--white);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================================================
   15. FOOTER
   ============================================================ */
.footer {
  position: relative;
  background: url('../images/footer-bg.png') center center / cover no-repeat;
  color: var(--white);
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 21, 60, 0.96);
  /* --navy with opacity fallback */
  z-index: 1;
}

.footer__inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px var(--pad-x);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer__logo {
  width: 180px;
  height: auto;
}

.footer__desc {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  max-width: 360px;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--white);
  transition: color 0.3s ease;
}

.footer__contact-item img {
  width: 20px;
  height: 20px;
  opacity: 0.8;
}

.footer__contact-item:hover {
  color: var(--pink);
}

.footer__title {
  font-family: var(--font-bold);
  font-size: 20px;
  color: var(--white);
  margin-bottom: 8px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a {
  font-family: var(--font-body);
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer__links a:hover {
  color: var(--white);
  transform: translateX(5px);
}

/* ============================================================
   16. RESPONSIVE — TABLET (769–1100px)
   ============================================================ */
@media (min-width: 769px) and (max-width: 1100px) {

  :root {
    --pad-x: 40px;
  }

  .navbar__wrap {
    padding: 0 40px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    padding-bottom: 60px;
  }

  .hero__visual,
  .why__visual,
  .industries__center,
  .contact__visual {
    display: none;
  }

  .hero__headline {
    font-size: 48px;
  }

  .why__inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .services__header {
    flex-direction: row;
    align-items: left;
    gap: 12px;
  }

  .services__row {
    flex-wrap: wrap;
    justify-content: center;
  }

  .svc-card {
    min-width: calc(50% - 10px);
  }

  .industries__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .testimonials__row {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact__inner {
    display: grid;
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  /* ===== BRANDS FIX ===== */

  .brands__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .brands__left-logos,
  .brands__right-logos {
    align-items: center;
  }

  .brands__left-row,
  .brands__right-row {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }

  .brand-item {
    max-width: 100%;
  }

  .brand-item img {
    max-width: 100%;
    height: auto;
  }

}


/* ============================================================
   17. RESPONSIVE — MOBILE (≤768px)
   ============================================================ */
@media (max-width: 768px) {

  :root {
    --pad-x: 20px;
  }

  /* Prevent horizontal scroll globally */
  body {
    overflow-x: hidden;
  }

  .navbar__wrap {
    padding: 0 20px;
    height: 68px;
  }

  .navbar__links,
  .navbar__cta {
    display: none;
  }

  .navbar__hamburger {
    display: flex;
  }

  .hero {
    min-height: auto;
  }

  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__content {
    padding: 80px 0 40px;
  }

  .hero__headline {
    font-size: 36px;
  }

  .hero__visual,
  .why__visual,
  .industries__center,
  .contact__visual {
    display: none;
  }

  .why__inner {
    grid-template-columns: 1fr;
    padding: 60px 20px;
  }

  .why__title,
  .services__title,
  .contact__title,
  .brands__title,
  .techstack__title {
    font-size: 32px;
  }

  .services__row {
    flex-direction: column;
    align-items: center;
  }

  .industries__layout {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .testimonials__row {
    grid-template-columns: 1fr;
  }

  .contact__inner {
    display: grid;
    grid-template-columns: 1fr;
  }

  .contact__sublabel {
    font-size: 18px;
  }

  .form-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .form-footer .btn {
    justify-content: center;
  }

  /* ===== BRANDS MOBILE FIX ===== */

  .brands__layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .brands__left-logos,
  .brands__right-logos {
    align-items: center;
  }

  .brands__left-row,
  .brands__right-row {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 14px;
  }

  .brand-item {
    width: 100%;
    max-width: 260px;
    padding: 14px 16px;
  }

  .brand-item img {
    max-width: 100%;
    height: auto;
  }

  .brands__bottom-row {
    justify-content: center;
    flex-wrap: wrap;
  }

  /* Tech stack fixes */
  .ts-grid,
  .ts-top-row,
  .ts-right-col {
    flex-direction: column;
  }

  .ts-mobile {
    height: 260px;
  }

  .ts-backend__img {
    display: none;
  }

  .ts-analytics {
    min-height: 320px;
  }

  .ts-analytics .ts-panel__title {
    font-size: 36px;
  }

  .ts-analytics .ts-panel__desc {
    max-width: 100%;
  }

  .footer__inner {
    padding: 60px 20px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__col {
    gap: 16px;
  }

}

/* ============================================================
   ANIMATIONS — Royal Technologies
   Premium, smooth, performance-optimized motion layer
   ============================================================ */

/* ============================================================
   KEYFRAME DEFINITIONS
   ============================================================ */

/* Fade up — for hero text, section headings, cards */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade in — for backgrounds, overlays */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Scale in — for logo cards, decorative elements */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.82);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Slide in from left */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Slide in from right */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Gentle float — for decorative blobs, cubes */
@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(-15deg);
  }

  50% {
    transform: translateY(-12px) rotate(-15deg);
  }
}

@keyframes float2 {

  0%,
  100% {
    transform: translateY(0) rotate(22deg);
  }

  50% {
    transform: translateY(-8px) rotate(22deg);
  }
}

@keyframes floatRect {

  0%,
  100% {
    transform: translateX(-50%) rotate(-18deg) translateY(0);
  }

  50% {
    transform: translateX(-50%) rotate(-18deg) translateY(-10px);
  }
}

/* Pulse glow — for CTA buttons */
@keyframes pulseGlow {

  0%,
  100% {
    box-shadow: 0 5px 29.3px rgba(96, 215, 105, 0.6);
  }

  50% {
    box-shadow: 0 5px 40px rgba(96, 215, 105, 0.95), 0 0 0 6px rgba(96, 215, 105, 0.15);
  }
}

/* Review card bob */
@keyframes bobLeft {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes bobRight {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

/* BRANDS — Horizontal marquee (left) */
@keyframes marqueeLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* BRANDS — Horizontal marquee (right, reversed) */
@keyframes marqueeRight {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

/* Tech stack card entrance */
@keyframes cardReveal {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Gradient shimmer for hero background */
@keyframes shimmerBg {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.92;
  }
}

/* Spin slow — star/badge */
@keyframes spinSlow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Why section card slide */
@keyframes whyCardIn {
  from {
    opacity: 0;
    transform: translateX(32px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Number pop */
@keyframes numPop {
  from {
    opacity: 0;
    transform: scale(0.7);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Navbar slide down */
@keyframes navbarSlideDown {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer fade */
@keyframes footerFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   NAVBAR ANIMATION
   ============================================================ */
.navbar {
  animation: navbarSlideDown 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ============================================================
   HERO ANIMATIONS
   ============================================================ */
.hero__bg {
  animation: fadeIn 1.2s ease both;
}

/* Staggered headline words */
.hero__headline {
  animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.hero__subtext {
  animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.38s both;
}

.hero__content .btn {
  animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.52s both;
}

/* Decorative floating elements */
.hero__deco--rect1 {
  animation: floatRect 7s ease-in-out infinite;
}

.hero__deco--cube1 {
  animation: float 5.5s ease-in-out infinite;
}

.hero__deco--cube2 {
  animation: float2 4.8s ease-in-out 0.6s infinite;
}

/* Hero person image */
.hero__person {
  animation: slideInRight 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

/* Logo cards staggered scale in */
.hero__logo-card--pt {
  animation: scaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.7s both;
}

.hero__logo-card--sm {
  animation: scaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.85s both;
}

.hero__logo-card--tf {
  animation: scaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1.0s both;
}

.hero__logo-card--r {
  animation: scaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1.15s both;
}

.hero__logo-card--oa {
  animation: scaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1.3s both;
}

/* Review cards bob */
.hero__review--1 {
  animation:
    slideInLeft 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.9s both,
    bobLeft 4s ease-in-out 1.8s infinite;
}

.hero__review--2 {
  animation:
    slideInRight 0.8s cubic-bezier(0.22, 1, 0.36, 1) 1.1s both,
    bobRight 4.5s ease-in-out 1.8s infinite;
}

/* ============================================================
   SCROLL-TRIGGERED ANIMATIONS (Intersection Observer)
   ============================================================ */

/* Base state for scroll-animated elements */
.anim-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.anim-fade-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.anim-fade-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.anim-scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Revealed state */
.anim-revealed {
  opacity: 1 !important;
  transform: none !important;
}

/* Stagger delays for child elements */
.anim-delay-1 {
  transition-delay: 0.08s !important;
}

.anim-delay-2 {
  transition-delay: 0.16s !important;
}

.anim-delay-3 {
  transition-delay: 0.24s !important;
}

.anim-delay-4 {
  transition-delay: 0.32s !important;
}

.anim-delay-5 {
  transition-delay: 0.40s !important;
}

.anim-delay-6 {
  transition-delay: 0.48s !important;
}

/* ============================================================
   WHY SECTION
   ============================================================ */
.why__person {
  transition: transform 0.4s ease;
}

.why__person:hover {
  transform: scale(1.02);
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.svc-card {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
  will-change: transform;
}

.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 60px rgba(19, 42, 97, 0.18);
}

.svc-card img {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.svc-card:hover img {
  transform: scale(1.08) translateY(-4px);
}

/* ============================================================
   INDUSTRIES SECTION
   ============================================================ */
.industry-item {
  transition: transform 0.3s ease;
}

.industry-item:hover {
  transform: translateX(4px);
}

.industries__col--left .industry-item:hover {
  transform: translateX(-4px);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.tcard {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
  will-change: transform;
}

.tcard:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(19, 42, 97, 0.15);
}

.tcard__avatar {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tcard:hover .tcard__avatar {
  transform: scale(1.08);
}

/* ============================================================
   BRANDS — MARQUEE SYSTEM
   ============================================================ */

/* Override existing layout to use marquee tracks */
.brands__marquee-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  /* Soft fade edges */
  -webkit-mask-image: linear-gradient(to right,
      transparent 0%,
      black 8%,
      black 92%,
      transparent 100%);
  mask-image: linear-gradient(to right,
      transparent 0%,
      black 8%,
      black 92%,
      transparent 100%);
}

.brands__marquee-track {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  /* Pause on hover */
  animation: marqueeLeft 28s linear infinite;
}

.brands__marquee-track--reverse {
  animation: marqueeRight 32s linear infinite;
}

.brands__marquee-wrapper:hover .brands__marquee-track,
.brands__marquee-wrapper:hover .brands__marquee-track--reverse {
  animation-play-state: paused;
}

/* Each brand item in marquee */
.brands__marquee-track .brand-item {
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brands__marquee-track .brand-item:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 30px rgba(19, 42, 97, 0.14);
}

/* Brands badge gentle rotation */
.brands__badge {
  animation: spinSlow 20s linear infinite;
  transform-origin: center;
  will-change: transform;
}

/* ============================================================
   TECH STACK
   ============================================================ */
.ts-panel {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
  will-change: transform;
}

.ts-panel:hover {
  transform: translateY(-4px);
}

.ts-arrow {
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.2s ease;
}

.ts-arrow:hover {
  transform: scale(1.12);
  background: #f0f0f0 !important;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  transition: opacity 0.2s, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease;
}

.btn:hover {
  opacity: 0.92;
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn--green {
  animation: pulseGlow 3s ease-in-out infinite;
}

/* ============================================================
   WHY CARDS
   ============================================================ */
.why__card {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease;
}

.why__card:hover {
  transform: translateX(6px);
  box-shadow: 16px 16px 24px rgba(164, 174, 197, 0.28);
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact__person {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact__person:hover {
  transform: scale(1.03) translateY(-4px);
}

.form-input {
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-input:focus {
  box-shadow: 0 0 0 3px rgba(21, 97, 237, 0.12);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer__social {
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.2s ease;
}

.footer__social:hover {
  transform: translateY(-3px) scale(1.1);
}

.footer__links a {
  transition: opacity 0.2s, transform 0.2s ease;
  display: inline-block;
}

.footer__links a:hover {
  opacity: 0.7;
  transform: translateX(3px);
}

/* ============================================================
   NAVBAR LINKS
   ============================================================ */
.navbar__links a {
  position: relative;
}

.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--pink);
  border-radius: 2px;
  transition: width 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.navbar__links a:hover::after {
  width: 100%;
}

/* ============================================================
   BRAND ITEMS (non-marquee fallback)
   ============================================================ */
.brand-item {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease;
}

.brand-item:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 10px 32px rgba(19, 42, 97, 0.12);
}

/* ============================================================
   INDUSTRY CENTER IMAGE
   ============================================================ */
.industries__center img {
  transition: transform 0.5s ease;
}

.industries__center img:hover {
  transform: scale(1.04);
}

/* ============================================================
   PERFORMANCE: Reduce motion for accessibility
   ============================================================ */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .brands__marquee-track,
  .brands__marquee-track--reverse {
    animation: none !important;
  }

  .brands__badge {
    animation: none !important;
  }
}

/* Mobile view fixes */

/* ============================================================
   MOBILE RESPONSIVE OVERRIDES
   Royal Technologies — Mobile View Fix
   Ensures all images display, layout matches desktop intent
   ============================================================ */

/* ============================================================
   FOOTER BACKGROUND OVERLAY FIX — ALL SCREEN SIZES
   The original CSS stacks two backgrounds incorrectly.
   We override with position:relative + ::before pseudo-overlay
   so the navy tint renders above the bg image at every breakpoint.
   ============================================================ */

.footer {
  position: relative;
  background: url('../images/footer-bg.png') center center / cover no-repeat !important;
}

/* Semi-opaque navy overlay that sits above the bg image */
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #0f153c;
  opacity: 0.97;
  z-index: 0;
  pointer-events: none;
}

/* Lift all footer content above the overlay */
.footer__inner,
.footer__bottom {
  position: relative;
  z-index: 1;
}

/* ============================================================
   GLOBAL MOBILE BASE (≤768px)
   ============================================================ */
@media (max-width: 768px) {

  :root {
    --pad-x: 20px;
    --radius-card: 20px;
  }

  body {
    overflow-x: hidden;
  }

  /* ============================================================
     NAVBAR
  ============================================================ */
  .navbar__wrap {
    padding: 0 20px;
    height: 68px;
  }

  .navbar__links,
  .navbar__cta {
    display: none !important;
  }

  .navbar__hamburger {
    display: flex !important;
  }

  .navbar__logo {
    width: 90px;
    height: auto;
  }

  /* ============================================================
     HERO SECTION — Show visual on mobile (stacked layout)
  ============================================================ */
  .hero {
    min-height: auto;
    overflow: hidden;
  }

  .hero__inner {
    grid-template-columns: 1fr !important;
    padding: 0 20px 40px;
    gap: 20px;
  }

  .hero__content {
    padding: 80px 0 20px;
    position: relative;
    z-index: 2;
  }

  .hero__headline {
    font-size: 34px !important;
    line-height: 1.15;
    margin-bottom: 16px;
  }

  .hero__subtext {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 100%;
  }

  /* SHOW hero visual on mobile — stacked below content */
  .hero__visual {
    display: flex !important;
    position: relative;
    width: 100%;
    height: 380px;
    justify-content: center;
    align-items: flex-end;
    margin: 0 auto;
  }

  /* Background decoration on mobile */
  .hero__deco--rect1 {
    width: 280px;
    height: 280px;
    border-radius: 80px;
    top: 60px;
    left: 50%;
    transform: translateX(-50%) rotate(-18deg);
  }

  .hero__deco--cube1 {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    bottom: 40px;
    left: 10px;
  }

  .hero__deco--cube2 {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    top: 40px;
    right: 20px;
  }

  /* Person image */
  .hero__person {
    width: 240px !important;
    top: 0;
    z-index: 2;
    position: relative;
  }

  /* Logo cards — repositioned for mobile */
  .hero__logo-card {
    z-index: 4;
  }

  .hero__logo-card--pt {
    width: 44px;
    height: 44px;
    top: 60px;
    right: 30px;
  }

  .hero__logo-card--sm {
    width: 38px;
    height: 38px;
    top: 110px;
    right: 5px;
  }

  .hero__logo-card--tf {
    width: 54px;
    height: 54px;
    top: 130px;
    right: 50px;
  }

  .hero__logo-card--r {
    width: 36px;
    height: 36px;
    top: 80px;
    left: 30px;
  }

  /* Review cards — scaled down for mobile */
  .hero__review {
    border-radius: 40px;
    padding: 6px 12px 6px 6px;
    gap: 8px;
  }

  .hero__review--1 {
    bottom: 180px;
    left: 5px;
  }

  .hero__review--2 {
    bottom: 80px;
    right: 5px;
  }

  .hero__review__avatar {
    width: 42px;
    height: 42px;
  }

  .bar--dark1,
  .bar--blue {
    width: 80px;
  }

  .bar--short1,
  .bar--green {
    width: 60px;
  }

  /* ============================================================
     WHY ROYAL TECHNOLOGIES — Show visual on mobile
  ============================================================ */
  .why__inner {
    grid-template-columns: 1fr !important;
    padding: 50px 20px !important;
    gap: 30px !important;
  }

  /* SHOW the why visual on mobile */
  .why__visual {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
  }

  .why__person {
    width: 100%;
    max-width: 320px;
    aspect-ratio: auto;
    border-radius: 300px 300px 0 0;
    object-fit: cover;
    display: block;
    margin: 0 auto;
  }

  .why__tagline {
    max-width: 100%;
    margin-left: 0;
    margin-top: -20px;
    padding: 16px 20px;
    border-radius: 16px;
    text-align: center;
  }

  .why__tagline-sub {
    font-size: 14px;
  }

  .why__tagline-main {
    font-size: 20px;
  }

  .why__label {
    font-size: 18px;
    margin-bottom: 4px;
  }

  .why__title {
    font-size: 30px !important;
    margin-bottom: 20px;
  }

  .why__card {
    padding: 16px;
    border-radius: 16px;
    gap: 12px;
  }

  .why__card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .why__card-icon img {
    width: 26px;
    height: 26px;
  }

  .why__card-text {
    font-size: 15px;
  }

  /* ============================================================
     CORE SERVICES
  ============================================================ */
  .services__inner {
    padding: 50px 20px !important;
  }

  .services__header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px;
    margin-bottom: 28px;
  }

  .services__label {
    font-size: 18px;
  }

  .services__title {
    font-size: 30px !important;
  }

  .services__desc {
    font-size: 14px;
    max-width: 100%;
  }

  .services__grid {
    gap: 12px;
  }

  .services__row {
    flex-direction: column !important;
    gap: 12px;
  }

  .svc-card {
    padding: 24px 20px;
    border-radius: 20px;
    width: 100%;
    min-width: 0;
    align-items: center;
  }

  .svc-card img {
    width: auto;
    max-height: 90px;
  }

  .svc-card__title {
    font-size: 20px;
  }

  .svc-card__desc {
    font-size: 14px;
  }

  .services__footer {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
    gap: 16px;
    margin-top: 24px;
  }

  .services__footer-text {
    font-size: 14px;
    text-align: center;
  }

  /* ============================================================
     INDUSTRIES — Show center image on mobile
  ============================================================ */
  .industries {
    padding: 50px 0;
  }

  .industries__title {
    font-size: 30px !important;
    margin-bottom: 36px;
    padding: 0 20px;
  }

  .industries__layout {
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    gap: 30px;
    padding: 0 20px;
  }

  /* SHOW center image on mobile */
  .industries__center {
    display: block !important;
    order: 0;
  }

  .industries__center img {
    width: 240px !important;
    height: 240px !important;
    border-radius: 50%;
    margin: 0 auto;
  }

  .industries__col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 16px;
    width: 100%;
  }

  .industries__col--left .industry-item,
  .industries__col--right .industry-item {
    text-align: left;
    align-items: flex-start;
  }

  .industry-item__num {
    font-size: 44px;
    height: 36px;
  }

  .industry-item__label {
    font-size: 16px;
  }

  /* ============================================================
     TESTIMONIALS
  ============================================================ */
  .testimonials {
    padding: 50px 0;
  }

  .testimonials__inner {
    padding: 0 20px;
  }

  .testimonials__label {
    font-size: 18px;
  }

  .testimonials__title {
    font-size: 30px;
  }

  .testimonials__row {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .tcard {
    padding: 20px 16px;
    border-radius: 20px;
  }

  .tcard__avatar {
    width: 80px;
    height: 80px;
  }

  .tcard__quote {
    font-size: 14px;
  }

  .tcard__name {
    font-size: 16px;
  }

  /* ============================================================
     BRANDS
  ============================================================ */
  .brands {
    padding: 40px 0;
  }

  .brands__inner {
    padding: 0 20px;
  }

  .brands__badge {
    width: 100px;
    height: 100px;
  }

  .brands__label {
    font-size: 18px;
  }

  .brands__title {
    font-size: 28px !important;
  }

  .brands__marquee-wrapper {
    margin-bottom: 12px;
  }

  .brand-item {
    padding: 10px 14px;
    border-radius: 14px;
    min-height: 60px;
    flex-shrink: 0;
  }

  .brand-item img {
    max-height: 40px;
    max-width: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
  }

  .brands__marquee-track {
    gap: 12px;
  }

  /* ============================================================
     TECH STACK
  ============================================================ */
  .techstack {
    padding: 40px 0;
  }

  .techstack__inner {
    padding: 0 20px;
    gap: 24px;
  }

  .techstack__title {
    font-size: 28px !important;
    text-align: center;
  }

  .techstack__card {
    padding: 16px;
    border-radius: 20px;
  }

  .ts-grid {
    flex-direction: column !important;
    gap: 12px;
  }

  .ts-left-col {
    flex: none;
    width: 100%;
  }

  .ts-top-row {
    flex-direction: column !important;
    gap: 12px;
  }

  .ts-right-col {
    flex-direction: column !important;
    gap: 12px;
  }

  .ts-frontend {
    min-height: 160px;
  }

  .ts-panel__title {
    font-size: 26px !important;
  }

  .ts-panel__desc {
    font-size: 14px;
  }

  .ts-analytics {
    min-height: 280px;
  }

  .ts-analytics .ts-panel__title {
    font-size: 34px !important;
  }

  .ts-analytics-img {
    width: 45%;
  }

  .ts-mobile {
    height: 280px;
  }

  .ts-mobile .ts-panel__title {
    font-size: 22px !important;
    max-width: 180px;
  }

  .ts-mobile-img {
    width: 55%;
  }

  .ts-backend {
    flex-direction: row;
    gap: 12px;
  }

  /* Keep the backend image on mobile — just smaller */
  .ts-backend__img {
    display: flex !important;
    width: 120px;
    flex-shrink: 0;
  }

  .ts-badge {
    font-size: 11px;
    padding: 4px 10px;
  }

  .ts-view-btn {
    font-size: 14px;
    padding: 10px 10px 10px 18px;
  }

  /* ============================================================
     CONTACT — Show visual on mobile
  ============================================================ */
  .contact {
    padding: 50px 0;
  }

  .contact__inner {
    flex-direction: column !important;
    gap: 30px;
    padding: 0 20px;
    max-width: 100%;
  }

  /* SHOW contact visual on mobile */
  .contact__visual {
    display: block !important;
    position: relative;
    width: 100%;
    height: 300px;
    margin: 0 auto;
  }

  .contact__bg-art {
    position: absolute;
    width: 220px;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
  }

  .contact__bg-rect {
    position: absolute;
    width: 160px;
    bottom: 0;
    left: 50%;
    transform: translateX(-40%);
  }

  .contact__person {
    position: absolute;
    width: 200px;
    bottom: 0;
    left: 50%;
    transform: translateX(-40%);
  }

  .contact__right {
    flex: none;
    width: 100%;
  }

  .contact__sublabel {
    font-size: 16px !important;
    text-align: left;
  }

  .contact__title {
    font-size: 28px !important;
    text-align: left;
    margin-bottom: 20px;
  }

  .contact__card {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .form-group {
    margin-bottom: 14px;
  }

  .form-label {
    font-size: 14px;
  }

  .form-input {
    height: 46px;
    font-size: 14px;
    border-radius: 8px;
  }

  .form-footer {
    flex-direction: column !important;
    align-items: stretch;
    gap: 12px;
  }

  .form-footer .btn {
    justify-content: center;
    width: 100%;
  }

  .form-wa-strip {
    padding: 10px 16px;
    font-size: 14px;
    border-radius: 30px;
    margin-top: 16px;
  }

  .form-wa-strip img {
    width: 28px;
    height: 28px;
  }

  /* Removed duplicate mobile footer fixes as it's now handled by the grid layout */

  /* ============================================================
     BUTTONS
  ============================================================ */
  .btn {
    height: 48px;
    font-size: 15px;
    padding: 8px 8px 8px 18px;
  }

  .btn__icon {
    width: 28px;
    height: 28px;
  }

  .btn__wa {
    width: 20px;
    height: 20px;
  }

  /* ============================================================
     MOBILE NAV
  ============================================================ */
  .mobile-nav {
    top: 68px;
  }

  .mobile-nav a {
    font-size: 15px;
    padding: 14px 0;
  }

}

/* ============================================================
   TABLET (769–1100px)
   ============================================================ */
@media (min-width: 769px) and (max-width: 1100px) {

  :root {
    --pad-x: 40px;
  }

  .navbar__wrap {
    padding: 0 40px;
    height: 88px;
  }

  .navbar__links,
  .navbar__cta {
    display: none !important;
  }

  .navbar__hamburger {
    display: flex !important;
  }

  .mobile-nav {
    top: 88px;
  }

  /* Hero */
  .hero__inner {
    grid-template-columns: 1fr !important;
    padding: 0 40px 60px;
  }

  .hero__visual {
    display: flex !important;
    width: 100%;
    height: 420px;
    justify-content: center;
    align-items: flex-end;
    margin: 0 auto;
  }

  .hero__person {
    width: 300px !important;
  }

  .hero__deco--rect1 {
    width: 340px;
    height: 340px;
    top: 40px;
  }

  .hero__logo-card--tf {
    top: 140px;
    right: 80px;
  }

  .hero__logo-card--pt {
    top: 70px;
    right: 100px;
  }

  .hero__logo-card--sm {
    top: 90px;
    right: 20px;
  }

  .hero__logo-card--r {
    top: 100px;
    left: 100px;
  }

  .hero__review--1 {
    bottom: 220px;
    left: 10px;
  }

  .hero__review--2 {
    bottom: 80px;
    right: 10px;
  }

  .hero__headline {
    font-size: 52px !important;
  }

  /* Why */
  .why__inner {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .why__visual {
    display: flex !important;
    flex-direction: column;
    align-items: center;
  }

  .why__person {
    max-width: 400px;
  }

  .why__title {
    font-size: 40px !important;
  }

  /* Services */
  .services__row {
    flex-wrap: wrap;
  }

  .svc-card {
    min-width: calc(50% - 10px);
    flex: 1 1 calc(50% - 10px);
  }

  /* Industries */
  .industries__layout {
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    gap: 30px;
  }

  .industries__center {
    display: block !important;
    order: 0;
  }

  .industries__center img {
    width: 300px !important;
    height: 300px !important;
  }

  .industries__col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
    max-width: 600px;
  }

  .industries__col--left .industry-item,
  .industries__col--right .industry-item {
    text-align: left;
    align-items: flex-start;
  }

  /* Testimonials */
  .testimonials__row {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Contact */
  .contact__inner {
    flex-direction: column !important;
    gap: 40px;
  }

  .contact__visual {
    display: block !important;
    width: 100%;
    height: 360px;
    position: relative;
  }

  .contact__bg-art {
    width: 280px;
    left: 50%;
    transform: translateX(-50%);
  }

  .contact__bg-rect {
    width: 220px;
    left: 50%;
    transform: translateX(-40%);
  }

  .contact__person {
    width: 260px;
    left: 50%;
    transform: translateX(-40%);
  }

  /* Footer */
  .footer__main {
    flex-direction: column !important;
    gap: 32px !important;
  }

  .footer__contact-card {
    min-width: 100%;
  }

  /* Brands */
  .brands__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

}

/* ============================================================
   SMALL MOBILE (≤390px) — Extra compact
   ============================================================ */
@media (max-width: 390px) {

  .hero__headline {
    font-size: 28px !important;
  }

  .hero__visual {
    height: 320px;
  }

  .hero__person {
    width: 200px !important;
  }

  .hero__deco--rect1 {
    width: 220px;
    height: 220px;
  }

  .hero__review--1 {
    left: 2px;
    bottom: 100px;
  }

  .hero__review--2 {
    right: 2px;
    bottom: 40px;
  }

  .why__title,
  .services__title,
  .industries__title,
  .testimonials__title,
  .brands__title,
  .techstack__title,
  .contact__title {
    font-size: 26px !important;
  }

  .industries__col {
    grid-template-columns: 1fr;
  }

  .industries__center img {
    width: 200px !important;
    height: 200px !important;
  }

  .contact__visual {
    height: 260px;
  }

  .contact__person {
    width: 170px;
  }

  .contact__bg-art {
    width: 180px;
  }

  .contact__bg-rect {
    width: 140px;
  }

}

/* ============================================================
   22. FOOTER BAR
   ============================================================ */
.footer-bar {
  background: var(--navy);
  padding: 20px var(--pad-x);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bar__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-bar__text {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  line-height: 1.5;
}

.footer-bar__text span {
  display: block;
}

@media (max-width: 768px) {
  .footer-bar {
    padding: 15px 24px;
  }

  .footer-bar__text {
    font-size: 12px;
  }
}