/* ══════════════════════════════════════════════════════════
   IMPORT FONTS
══════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400&display=swap');

/* ══════════════════════════════════════════════════════════
   RESET & BASE
══════════════════════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary:    #E08821;
  --primary-dk: #B36A10;
  --accent:     #FFB347;
  --dark:       #0A0805;
  --dark2:      #110C05;
  --dark3:      #1A1208;
  --card-bg:    #160F04;
  --white:      #FFFFFF;
  --grey:       #B3B3B3;
  --text-body:  #D4B896;
  --border:     rgba(224,136,33,0.25);
  --radius:     8px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Rubik', sans-serif;
  line-height: 1.2;
}

p { color: var(--text-body); }
a { text-decoration: none; }
img { max-width: 100%; display: block; }


/* ══════════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════════ */
.navbar {
  background: transparent !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  padding: 16px 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
}

.navbar-brand img {
  height: 44px;
  width: auto;
}

.navbar-toggler {
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 10px;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav .nav-link,
.navbar-nav .nav-link:focus {
  color: #FFFFFF !important;
  font-family: 'Marcellus SC', serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0px;
  text-decoration: none !important;
  padding: 8px 16px !important;
  transition: color 0.2s;
  white-space: nowrap;
}

.navbar-nav .nav-link.active { color: #E08821 !important; }
.navbar-nav .nav-link:hover  { color: #E08821 !important; }

/* Navbar Contact Us — plain white text, zero gold decoration */
.navbar .btn-get-started {
  all: unset;
  cursor: pointer;
  font-family: 'Marcellus SC', serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: #FFFFFF;
  padding: 8px 16px;
  background: transparent;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s;
}
.navbar .btn-get-started:hover { color: #E08821; }


.btn-consultation,
.btn-about,
.btn-case,
.btn-cta-submit {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  text-decoration: none;

  /* Dimensions */
  height: 50px;
  padding: 0 28px;

  /* Visual layers via box-shadow — never causes reflow */
  background: #de8721;
  border: 2px solid #a7661a;
  border-radius: 4px;
  box-shadow: 0 0 0 2px #0a0805, 0 0 0 5px #e08821;

  /* Typography */
  font-family: 'Cinzel', serif;
  font-size: 16px;
  font-weight: 400;
  color: #090504;
  letter-spacing: 0.02em;
  line-height: 1;

  /* ONLY opacity on hover — zero layout change */
  transition: opacity 0.2s ease;
}

/* hover / focus / active — everything locked, only opacity moves */
.btn-consultation:hover,
.btn-about:hover,
.btn-case:hover,
.btn-cta-submit:hover,
.btn-consultation:focus,
.btn-about:focus,
.btn-case:focus,
.btn-cta-submit:focus,
.btn-consultation:active,
.btn-about:active,
.btn-case:active,
.btn-cta-submit:active {
  opacity: 0.88;
  transform: none;
  background: #de8721;
  border: 2px solid #a7661a;
  border-radius: 4px;
  box-shadow: 0 0 0 2px #0a0805, 0 0 0 5px #e08821;
  color: #090504;
  text-decoration: none;
}

.btn-cta-submit:disabled,
.btn-consultation:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Case study btn specific size */
.btn-case {
  width: 224px;
  height: 48px;
  font-size: 15px;
}




/* Service cards */
.service-card {
  background: rgba(6,6,6,0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: none;
  transition: box-shadow 0.25s ease;
  will-change: box-shadow;
}
.service-card:hover {
  border: 1px solid rgba(255,255,255,0.08); /* stays exactly the same */
  box-shadow: 0 0 0 1px #E08821, 0 0 14px rgba(224,136,33,0.18);
  transform: none;
}

/* Why cards — updated to match Services card style and prevent shake */
.why-card {
  background: rgba(6,6,6,0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: none;
  transition: box-shadow 0.25s ease;
  will-change: box-shadow;
}
.why-card:hover {
  border: 1px solid rgba(255,255,255,0.08); /* stays exactly the same */
  box-shadow: none;
  transform: none;
}

/* Case items */
.case-item {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
  background: #060606;
  box-shadow: none;
  transition: box-shadow 0.25s ease;
  will-change: box-shadow;
}
.case-item.active {
  border: 1px solid rgba(255,255,255,0.08); /* stays the same */
  box-shadow: 0 0 0 1px rgba(224,136,33,0.5);
}


/* ══════════════════════════════════════════════════════════
   HERO SECTION
══════════════════════════════════════════════════════════ */
.hero-section {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-media picture .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.25) 55%,
    rgba(0,0,0,0.05) 100%
  );
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-family: 'Marcellus SC', serif;
  font-weight: 400;
  font-size: 68px;
  line-height: 88px;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin-bottom: 24px;
  max-width: 709px;
}

.hero-content p {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 14px;
  max-width: 560px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}


/* ══════════════════════════════════════════════════════════
   STATS GRID
══════════════════════════════════════════════════════════ */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
  position: relative;
  z-index: 2;
}

.stat-box {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 96px;
  padding: 16px;
  background: rgba(6,6,6,0.10);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
}

.stat-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon img { width: 100%; height: 100%; object-fit: cover; }

.stat-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-val {
  font-family: 'Marcellus SC', serif;
  font-weight: 400;
  font-style: normal;
  font-size: 19px;
  line-height: 36px;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  display: block;
  white-space: nowrap;
}

.stat-lbl {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  display: block;
  white-space: nowrap;
}


/* ══════════════════════════════════════════════════════════
   ABOUT SECTION
══════════════════════════════════════════════════════════ */
.about-section {
  width: 100%;
  min-height: 488px;
  background: rgba(0,0,0,0.82);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-inner {
  width: 100%;
  max-width: 1440px;
  padding: 60px 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.about-title {
  font-family: 'Marcellus SC', serif;
  font-weight: 400;
  font-size: 48px;
  line-height: 60px;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin: 0;
}

.about-desc {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  color: rgba(255,255,255,0.75);
  max-width: 900px;
  margin: 0;
}


/* ══════════════════════════════════════════════════════════
   SERVICES SECTION
══════════════════════════════════════════════════════════ */
.services-section {
  position: relative;
  overflow: hidden;
}

.services-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.services-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.services-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
}

.services-section .container {
  position: relative;
  z-index: 2;
}

.services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.services-title {
  font-family: 'Marcellus SC', serif;
  font-weight: 400;
  font-size: 48px;
  line-height: 60px;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin: 0;
  flex: 0 0 auto;
}

.services-desc {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #98A2B3;
  max-width: 420px;
  margin: 0;
  padding-top: 8px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  /* FIX UI-005 (desktop): remove excess margin-bottom, CTA uses its own margin-top */
  margin-bottom: 40px;
}

.service-card:nth-child(1),
.service-card:nth-child(2),
.service-card:nth-child(3),
.service-card:nth-child(4),
.service-card:nth-child(5),
.service-card:nth-child(6) { grid-column: span 2; }

.service-card:nth-child(7) { grid-column: 2 / span 2; }
.service-card:nth-child(8) { grid-column: 4 / span 2; }

.service-icon-box {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon-box img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

.service-card-title {
  font-family: 'Marcellus SC', serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 36px;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin: 0;
}

.service-card-desc {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #98A2B3;
  margin: 0;
}

/* FIX UI-005: CTA button margin-top kept tight */
.services-cta {
  text-align: center;
  margin-top: 0;
}


/* ══════════════════════════════════════════════════════════
   GAME CREATIONS SLIDER
══════════════════════════════════════════════════════════ */
.game-creations-section {
  background: rgba(0,0,0,0.82);
  overflow: hidden;
}

.game-creations-title {
  font-family: 'Marcellus SC', serif;
  font-weight: 400;
  font-size: 48px;
  line-height: 60px;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 40px;
}

.games-slider-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.games-slider {
  display: flex;
  align-items: center;
  gap: 20px;
  transition: transform 0.5s ease;
  padding: 20px 40px;
  will-change: transform;
}

.game-slide {
  flex-shrink: 0;
  width: 320px;
  overflow: hidden;
  border-radius: 12px;
  padding: 24px;
  opacity: 0.7;
  transition: transform 0.35s ease, opacity 0.35s ease;
  transform-origin: center;
}

.game-slide.active {
  transform: scale(1.15);
  opacity: 1;
  z-index: 2;
}

.game-card {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  background: rgba(6,6,6,0.45);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 0 10px rgba(0,0,0,0.4);
}

/* FIX UI-002: Enforce uniform image dimensions for all carousel images */
.game-card img {
  width: 100%;
  height: 228px;
  object-fit: cover;
  object-position: center;
  display: block;
  /* Prevent any image from growing or shrinking outside its slot */
  min-height: 228px;
  max-height: 228px;
}

.game-card-title {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  font-family: 'Marcellus SC', serif;
  font-weight: 400;
  font-style: normal;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: -0.03em;
  text-align: center;
  color: #FFFFFF;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.45);
}

.game-slide > img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.game-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.game-dot {
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: background 0.2s;
}

.game-dot.active { background: white; }


/* ══════════════════════════════════════════════════════════
   WHY CHOOSE US
══════════════════════════════════════════════════════════ */
.why-section {
  position: relative;
  overflow: hidden;
}

.why-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.why-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.why-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.60);
}

.why-section .container {
  position: relative;
  z-index: 2;
}

.why-title {
  font-family: 'Marcellus SC', serif;
  font-weight: 400;
  font-size: 48px;
  line-height: 60px;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 50px;
}

.why-slider-wrapper {
  width: 100%;
  overflow: hidden;
}

.why-slider {
  display: flex;
  transition: transform 0.5s ease;
}

.why-slide {
  flex-shrink: 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.why-card-title {
  font-family: 'Marcellus SC', serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 36px;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin: 0;
}

.why-card-desc {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #98A2B3;
  margin: 0;
}

.why-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.why-dot {
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: background 0.2s;
}

.why-dot.active { background: white; }


/* ══════════════════════════════════════════════════════════
   CASE STUDIES
══════════════════════════════════════════════════════════ */
.case-studies-section {
  background: #060606;
}

.case-studies-title {
  font-family: 'Marcellus SC', serif;
  font-weight: 400;
  font-size: 48px;
  line-height: 60px;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 60px;
}

.case-accordion-col {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.case-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  cursor: pointer;
  background: #060606;
  transition: background 0.2s;
}

.case-header:hover { background: rgba(255,255,255,0.04); }

.case-name {
  font-family: 'Marcellus SC', serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 36px;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin: 0;
}

.case-arrow {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  flex-shrink: 0;
  transition: color 0.25s;
}

.case-item.active .case-arrow { color: #E08821; }

.case-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  position: relative;
}

.case-body.open { max-height: 620px; }

.case-body-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  opacity: 0.55;
}

.case-body-content {
  position: relative;
  z-index: 2;
  padding: 180px 32px 32px 32px;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: flex-end;
}

.case-desc {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: rgba(255,255,255,0.85);
  margin: 0;
  max-width: 700px;
}

.case-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 40px;
}

.case-meta-item {
  display: flex;
  gap: 8px;
  align-items: center;
}

.meta-label {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: rgba(255,255,255,0.45);
}

.meta-value {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #FFFFFF;
}


/* ══════════════════════════════════════════════════════════
   CTA FORM SECTION
══════════════════════════════════════════════════════════ */
.cta-form-section {
  position: relative;
  overflow: hidden;
}

.cta-form-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Light overlay so background image is clearly visible */
.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.18);
}

.cta-form-section .container {
  position: relative;
  z-index: 2;
}

.cta-form-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.cta-heading { text-align: center; }

.cta-title-white {
  font-family: 'Marcellus SC', serif;
  font-weight: 400;
  font-size: 48px;
  line-height: 60px;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin: 0;
  text-align: center;
}

.cta-title-gold {
  font-family: 'Marcellus SC', serif;
  font-weight: 400;
  font-size: 48px;
  line-height: 60px;
  letter-spacing: -0.03em;
  color: #E08821;
  margin: 0 0 16px;
  text-align: center;
}

.cta-desc {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto;
}

.cta-form-box {
  width: 583px;
  max-width: 100%;
  background: rgba(6,6,6,0.80);
  border: 1px solid rgba(152,162,179,0.10);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.cta-form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}
.cta-form-group:last-child { margin-bottom: 0; }

.cta-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #D0D5DD;
  border-radius: 0;
  padding: 10px 0;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #FFFFFF;
  outline: none;
  transition: border-color 0.2s;
}

.cta-input::placeholder {
  color: rgba(255,255,255,0.45);
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 16px;
}

.cta-input:focus { border-bottom-color: #E08821; }

.cta-textarea { resize: none; min-height: 80px; }

.cta-error {
  font-size: 12px;
  color: #FF6B6B;
  min-height: 16px;
}

.cta-submit-wrap {
  text-align: center;
  margin-top: 8px;
}


/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.footer-section { background: rgba(0,0,0,0.82); }

.offices-wrapper { padding: 50px 0; }

.offices-box {
  position: relative;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 40px 32px 32px;
  margin-top: 20px;
}

.offices-title {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.88);
  padding: 0 16px;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 475;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  white-space: nowrap;
  margin: 0;
}

.offices-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.office-item { display: flex; flex-direction: column; gap: 12px; }

.office-country {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.office-country span {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 475;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  white-space: nowrap;
}

.office-country img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 50%;
}

.office-address {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: rgba(255,255,255,0.55);
  margin: 0;
}

.footer-bottom-bar { padding: 20px 0; }

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 13px;
  color: white;
  margin: 0;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-links a {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 13px;
  color: white;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: #E08821; }
.footer-links span { color: rgba(255,255,255,0.15); }


/* ══════════════════════════════════════════════════════════
   POPUP MODAL
══════════════════════════════════════════════════════════ */
.popup-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
}

.popup-content {
  position: relative;
  z-index: 2;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none; 
  margin: 20px;
}

.popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--grey);
  width: 32px;
  height: 32px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: border-color 0.2s, color 0.2s;
}
.popup-close:hover { border-color: var(--accent); color: var(--white); }

.popup-form-wrapper h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.popup-description {
  font-size: 14px;
  color: var(--grey);
  margin-bottom: 24px;
}

.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--grey);
  margin-bottom: 6px;
}

.form-group .form-control {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  border-radius: 6px;
  padding: 11px 14px;
  font-size: 14px;
  width: 100%;
  transition: border-color 0.2s;
}

.form-group .form-control:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,0.07);
}

.form-group .form-control::placeholder { color: #5a5a80; }
.form-group textarea.form-control { resize: vertical; min-height: 90px; }

.error-message {
  font-size: 12px;
  color: #FF6B6B;
  margin-top: 4px;
  min-height: 16px;
}


/* ══════════════════════════════════════════════════════════
   GLOBAL CONTAINER PADDING
══════════════════════════════════════════════════════════ */
.navbar .container,
.navbar > .container,
.hero-section .container,
.about-section .about-inner,
.services-section .container,
.game-creations-section .container,
.why-section .container,
.case-studies-section .container,
.cta-form-section .container,
.offices-wrapper .container,
.footer-bottom-bar .container {
  padding-left: 120px !important;
  padding-right: 120px !important;
  max-width: 100% !important;
  width: 100% !important;
}

.hero-section .container {
  padding-top: 100px !important;
  padding-bottom: 60px !important;
}

@media (max-width: 1200px) {
  .navbar .container,
  .navbar > .container,
  .hero-section .container,
  .about-section .about-inner,
  .services-section .container,
  .game-creations-section .container,
  .why-section .container,
  .case-studies-section .container,
  .cta-form-section .container,
  .offices-wrapper .container,
  .footer-bottom-bar .container {
    padding-left: 60px !important;
    padding-right: 60px !important;
  }
  .hero-section .container { padding-top: 120px !important; }
}

@media (max-width: 768px) {
  .navbar .container,
  .navbar > .container,
  .hero-section .container,
  .about-section .about-inner,
  .services-section .container,
  .game-creations-section .container,
  .why-section .container,
  .case-studies-section .container,
  .cta-form-section .container,
  .offices-wrapper .container,
  .footer-bottom-bar .container {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  .hero-section .container { padding-top: 80px !important; }
}

@media (max-width: 480px) {
  .navbar .container,
  .navbar > .container,
  .hero-section .container,
  .about-section .about-inner,
  .services-section .container,
  .game-creations-section .container,
  .why-section .container,
  .case-studies-section .container,
  .cta-form-section .container,
  .offices-wrapper .container,
  .footer-bottom-bar .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .hero-section .container { padding-top: 60px !important; }
}



@media (min-width: 769px) and (max-width: 1199px) {

  /* Hero heading — scale down from 68px desktop */
  .hero-content h1 {
    font-size: 44px !important;
    line-height: 56px !important;
    max-width: 100% !important;
  }

  .hero-content p {
    font-size: 15px !important;
    max-width: 100% !important;
  }

  /* Stats grid — keep 2 columns but allow text to wrap */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .stat-box {
    height: auto !important;
    min-height: 80px;
    padding: 12px 14px;
  }

  /* Allow stat text to wrap so "5 Global Offices (USA…)" doesn't overflow */
  .stat-val {
    font-size: 15px !important;
    line-height: 22px !important;
    white-space: normal !important;
  }

  .stat-lbl {
    font-size: 11px !important;
    white-space: normal !important;
    line-height: 16px !important;
  }

  /* Force stat-text back to column so label sits below value */
  .stat-box .stat-text {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    align-items: flex-start !important;
  }

  /* Why choose us — 2 columns instead of 3 at tablet */
  .why-slide {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}


/* ══════════════════════════════════════════════════════════
   CONSISTENT SECTION PADDING
══════════════════════════════════════════════════════════ */
.about-section,
.services-section,
.game-creations-section,
.why-section,
.case-studies-section,
.cta-form-section {
  padding-top: 60px !important;
  padding-bottom: 60px !important;
}

@media (max-width: 768px) {
  .about-section,
  .services-section,
  .game-creations-section,
  .why-section,
  .case-studies-section,
  .cta-form-section {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }
}

@media (max-width: 480px) {
  .about-section,
  .services-section,
  .game-creations-section,
  .why-section,
  .case-studies-section,
  .cta-form-section {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }
}


/* ══════════════════════════════════════════════════════════
   CASE STUDIES — desktop side padding overrides
══════════════════════════════════════════════════════════ */
@media (min-width: 1401px) {
  .case-studies-section { padding-left: 144px !important; padding-right: 144px !important; }
}
@media (max-width: 1400px) and (min-width: 1025px) {
  .case-studies-section { padding-left: 80px !important; padding-right: 80px !important; }
}
@media (max-width: 1024px) and (min-width: 769px) {
  .case-studies-section { padding-left: 40px !important; padding-right: 40px !important; }
}

/* Desktop case body — text pinned to bottom */
@media (min-width: 769px) {
  .case-body-content {
    padding: 180px 32px 32px 32px !important;
    min-height: 480px !important;
    justify-content: flex-end !important;
  }
}


/* ══════════════════════════════════════════════════════════
   SERVICES — tablet grid
══════════════════════════════════════════════════════════ */
@media (max-width: 992px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid .service-card:nth-child(n) { grid-column: span 1; }
  .services-title { font-size: 36px; line-height: 48px; }
}

@media (max-width: 576px) {
  .services-grid { grid-template-columns: 1fr; }
  .services-header { flex-direction: column; }
}


/* ══════════════════════════════════════════════════════════
   FOOTER GRID — responsive
══════════════════════════════════════════════════════════ */
@media (max-width: 1100px) { .offices-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .offices-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .offices-grid { grid-template-columns: 1fr; } }


/* ══════════════════════════════════════════════════════════
   MOBILE  ≤ 768px
══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  .navbar { background: rgba(0,0,0,0.85) !important; }


  .hero-section {
    min-height: auto;
    padding-top: 80px !important;   
    padding-bottom: 40px !important;
    align-items: flex-start;
  }

  .about-section,
  .services-section,
  .game-creations-section,
  .why-section,
  .case-studies-section,
  .cta-form-section,
  .footer-section {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* about-inner padding — override the desktop 60px 120px */
  .about-inner {
    padding: 0 !important; /* section already carries 40px; inner adds nothing extra */
    gap: 20px;
  }

  /* Hero content */
  .hero-content { text-align: center; }
  .hero-content h1 {
    font-size: 36px !important;
    line-height: 48px !important;
    white-space: normal !important;
    max-width: 100% !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .hero-content p {
    font-size: 14px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  /* ─────────────────────────────────────────────────────
     FIX UI-001: Stats grid — remove extra gap below
     "5 Global Offices" stat box on mobile.
  ───────────────────────────────────────────────────── */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
  }
  .stat-box {
    width: 100%;
    height: auto !important;
    min-height: 70px;
    padding: 12px 14px;
    background: rgba(6,6,6,0.4);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    align-items: center;
  }
  .stat-box .stat-text {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    align-items: flex-start !important;
  }
  .stat-val {
    font-family: 'Marcellus SC', serif;
    font-weight: 400;
    font-size: 20px !important;
    line-height: 26px !important;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    white-space: normal;
    text-align: left;
  }
  .stat-lbl {
    font-size: 13px !important;
    line-height: 20px !important;
    color: rgba(255,255,255,0.65) !important;
    white-space: normal;
    margin-top: 0 !important;
  }

  /* About */
  .about-title { font-size: 32px !important; line-height: 42px !important; }
  .about-desc  { font-size: 14px; }

  /* Services header */
  .services-header { flex-direction: column; gap: 16px; align-items: center; text-align: center; }
  .services-title { font-size: 32px !important; line-height: 42px !important; text-align: center !important; }
  .services-desc  { text-align: center; max-width: 100%; }

  /* FIX UI-005: tighten services grid/CTA gap */
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
    margin-bottom: 24px !important;
  }
  .services-cta {
    margin-top: 4px !important;
  }

  /* Service cards — icon left, title right */
  .service-card:nth-child(n) { grid-column: span 1 !important; }
  .service-card {
    display: grid !important;
    grid-template-columns: 40px 1fr !important;
    grid-template-rows: auto auto !important;
    column-gap: 14px !important;
    row-gap: 10px !important;
    align-items: center !important;
    padding: 18px 16px !important;
  }
  .service-icon-box {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 36px !important;
    height: 36px !important;
  }
  .service-card-title {
    grid-column: 2 !important;
    grid-row: 1 !important;
    font-size: 17px !important;
    line-height: 24px !important;
    margin: 0 !important;
    align-self: center !important;
  }
  .service-card-desc {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    font-size: 14px !important;
  }

  /* FIX UI-002: Game carousel uniform sizes */
  .games-slider {
    padding: 16px 20px;
    gap: 16px;
  }
  .game-slide {
    width: 260px !important;
    height: auto !important;
    padding: 0 !important;
    border-radius: 12px;
  }
  .game-slide.active {
    transform: none !important;
    width: 260px !important;
    opacity: 1;
  }
  .game-card {
    border-radius: 12px;
    overflow: hidden;
  }
  .game-card img {
    width: 100% !important;
    height: 180px !important;
    min-height: 180px !important;
    max-height: 180px !important;
    object-fit: cover !important;
    object-position: center !important;
  }
  .game-card-title {
    font-size: 18px !important;
    line-height: 26px !important;
    padding: 10px 12px !important;
  }

  /* Why choose us */
  .why-title { font-size: 28px !important; line-height: 38px !important; margin-bottom: 32px !important; }
  .why-slide { grid-template-columns: 1fr !important; gap: 16px !important; }

  .why-card {
    display: grid !important;
    grid-template-columns: 40px 1fr !important;
    grid-template-rows: auto auto !important;
    column-gap: 14px !important;
    row-gap: 0 !important;
    align-items: center !important;
    padding: 20px 18px !important;
    border-radius: 12px !important;
    gap: 0 !important;
  }
  .why-icon {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 36px !important;
    height: 36px !important;
    margin: 0 !important;
  }
  .why-card-title {
    grid-column: 2 !important;
    grid-row: 1 !important;
    font-size: 17px !important;
    line-height: 24px !important;
    margin: 0 !important;
    align-self: center !important;
  }
  .why-card-desc {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    margin-top: 12px !important;
    font-size: 14px !important;
    line-height: 22px !important;
  }
  .why-dots { margin-top: 24px !important; }

  /* Case studies */
  .case-studies-section  { padding: 40px 24px !important; }
  .case-studies-title    { font-size: 28px !important; line-height: 38px !important; margin-bottom: 32px !important; }
  .case-header           { padding: 16px !important; }
  .case-name             { font-size: 16px !important; line-height: 24px !important; }
  .case-body.open        { max-height: 900px !important; }
  .case-body-content {
    padding: 20px 16px 24px 16px !important;
    min-height: unset !important;
    justify-content: flex-start !important;
  }
  .case-desc { font-size: 14px !important; line-height: 22px !important; }
  .case-meta-grid { grid-template-columns: 1fr !important; gap: 8px !important; }
  .meta-label { font-size: 13px; }
  .meta-value { font-size: 14px; font-weight: 600; }

  .btn-case {
    width: 100% !important;
    height: 48px !important;
    padding: 0 20px !important;
    margin-top: 8px !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
  }

  /* FIX UI-004: CTA → Footer gap */
  .cta-form-section {
    padding-bottom: 40px !important;
  }
  .cta-form-wrapper {
    gap: 24px !important;
  }
  .cta-form-box {
    gap: 16px !important;
  }
  .footer-section .offices-wrapper {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  /* CTA */
  .cta-title-white,
  .cta-title-gold { font-size: 32px !important; line-height: 42px !important; }
  .cta-form-box   { width: 100%; padding: 24px 16px; }

  /* Footer */
  .offices-box         { padding: 30px 16px 24px; }
  .office-country span { font-size: 16px; }
  .office-address      { font-size: 13px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 10px; }
  .footer-links        { justify-content: center; }

  .btn-about { width: 100% !important; }

  /* Popup */
  .popup-modal { align-items: flex-end; }
  .popup-content {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 92vh !important;
    margin: 0 !important;
    border-radius: 20px 20px 0 0 !important;
    padding: 24px 20px 32px !important;
    overflow-y: auto;
  }
  .popup-close { top: 14px !important; right: 14px !important; width: 36px !important; height: 36px !important; }
  .popup-form-wrapper h2 { font-size: 20px !important; padding-right: 40px; }
  .popup-description     { font-size: 13px !important; margin-bottom: 20px !important; }
  .form-group            { margin-bottom: 14px !important; }
  .form-group label      { font-size: 12px !important; }
  .form-group .form-control { font-size: 15px !important; padding: 10px 12px !important; }
  .form-group textarea.form-control { min-height: 80px !important; }
  #popupSubmitBtn,
  .popup-form-wrapper .btn-consultation {
    width: 100% !important;
    height: 50px !important;
    font-size: 15px !important;
  }
}


/* ══════════════════════════════════════════════════════════
   MOBILE  ≤ 480px
══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .hero-content h1      { font-size: 28px !important; line-height: 38px !important; }
  .about-title          { font-size: 26px !important; line-height: 36px !important; }
  .services-title       { font-size: 26px !important; line-height: 36px !important; }
  .game-creations-title { font-size: 26px !important; line-height: 36px !important; }
  .why-title            { font-size: 24px !important; line-height: 34px !important; }
  .case-studies-title   { font-size: 24px !important; line-height: 34px !important; }
  .cta-title-white,
  .cta-title-gold       { font-size: 26px !important; line-height: 36px !important; }

  
  .hero-section {
    padding-top: 80px !important; 
    padding-bottom: 24px !important;
  }
  .about-section,
  .services-section,
  .game-creations-section,
  .why-section,
  .case-studies-section,
  .cta-form-section,
  .footer-section {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* FIX UI-002 (480px): smaller carousel */
  .game-slide {
    width: 220px !important;
    height: auto !important;
  }
  .game-slide.active {
    width: 220px !important;
    transform: none !important;
  }
  .game-card img {
    height: 150px !important;
    min-height: 150px !important;
    max-height: 150px !important;
  }
  .game-card-title      { font-size: 15px !important; line-height: 22px !important; }

  .why-card             { padding: 16px 14px !important; }
  .why-card-title       { font-size: 15px !important; line-height: 22px !important; }
  .why-card-desc        { font-size: 13px !important; line-height: 20px !important; }

  .case-studies-section { padding: 24px 16px !important; }

  .service-card-title   { font-size: 16px !important; line-height: 22px !important; }
  .service-card-desc    { font-size: 14px; line-height: 22px; }

  .btn-cta-submit       { width: 100% !important; }
}

