/* Games Development Page Styles */

/* Game Hero Section */
.game-hero {
  background-color: var(--sada);
  padding: 170px 0 70px;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
}

.game-hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  max-width: 1448px;
  margin: 0 auto;
  padding: 0;
}

.game-hero-content {
  flex: 1;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background-color: var(--dark);
  color: var(--text-light);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  position: relative;
  left: unset;
  bottom: unset;
  width: fit-content;
  height: fit-content;
}

.hero-badge .icon {
  margin-right: 8px;
  display: flex;
  align-items: center;
}

.hero-badge .icon svg {
  width: 14px;
  height: 14px;
}

.game-hero h1 {
  font-size: 56px;
  line-height: 1.1;
  color: var(--primary);
  margin-bottom: 25px;
  font-weight: 800;
  letter-spacing: -1px;
}

.game-hero h1 span {
  font-weight: 400;
  color: var(--primary);
}

.game-hero p {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 35px;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 45px;
}

.hero-feature-badge {
  display: flex;
  align-items: center;
  background: white;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #5b6574;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.hero-feature-badge .icon {
  margin-right: 8px;
  display: flex;
  align-items: center;
}

.hero-feature-badge .icon svg {
  width: 16px;
  height: 16px;
}

.text-green {
  color: #059669;
}

.text-blue {
  color: #3b6cff;
}

.text-purple {
  color: #8b3dff;
}

.btn-hero-outline {
  display: inline-block;
  padding: 10px 30px;
  color: var(--primary);
  background: var(--sada);
  border: 2px solid var(--primary);
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-hero-outline:hover {
  background: var(--primary);
  color: var(--sada);
}

/* Grid layout */
.game-hero-grid {
  display: flex;
  gap: 20px;
}

.grid-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.grid-col.col-down {
  margin-top: 30px;
}

.grid-col.col-up {
  margin-bottom: 30px;
}

.grid-item {
  width: 170px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.grid-item.item-img {
  height: 190px;
}

.grid-col.col-up .item-img {
  height: 230px;
}

.grid-item.item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.grid-item.item-icon {
  height: 170px;
  flex-direction: column;
  text-align: center;
}

.icon-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 600;
  font-size: 13px;
  color: #1a1e2d;
}

.icon-green {
  background-color: #dcf2cd;
}

.icon-green .icon-inner svg {
  width: 62px;
  height: 62px;
  stroke: #8b3dff;
}

.icon-orange {
  background-color: #f2d6ca;
  color: #1a1e2d;
}

.icon-orange .icon-inner svg {
  width: 28px;
  height: 28px;
  stroke: #3b6cff;
  margin-bottom: 12px;
}

.item-card {
  height: 170px;
  background: linear-gradient(180deg, #dce4f8 0%, #c4d2f0 100%);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.card-inner {
  width: 100%;
}

.trend-icon {
  margin-bottom: auto;
  color: #d83b3b;
  margin-bottom: 15px;
}

.trend-icon svg {
  width: 24px;
  height: 24px;
  stroke: #d83b3b;
}

.card-label {
  font-size: 11px;
  color: #3f5e7a;
  margin-bottom: 5px;
  font-weight: 600;
}

.card-value {
  font-size: 38px;
  font-weight: 800;
  color: #1a1e2d;
  line-height: 1;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .game-hero-container {
    gap: 30px;
    flex-direction: column;
    text-align: center;
  }

  .game-hero-content {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-features {
    justify-content: center;
  }

  .game-hero-grid {
    margin-top: 30px;
    justify-content: center;
  }

  .grid-col.col-down,
  .grid-col.col-up {
    margin-top: 0;
    margin-bottom: 0;
  }

  .grid-item {
    width: 150px;
  }
}

@media (max-width: 767px) {
  .game-hero h1 {
    font-size: 42px;
  }
}

@media (max-width: 576px) {
  .game-hero-grid {
    flex-direction: column;
    align-items: center;
  }

  .grid-col {
    flex-direction: row;
    width: 100%;
    justify-content: center;
  }
}

/* Our Games Services Section */
.games-services-section {
  padding: 100px 0;
  background-color: var(--dark);
}

.section-title {
  font-size: clamp(2.5rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -.02em;
  margin-bottom: 40px;
  max-width: 600px;
}

.section-subtitle {
  text-align: left;
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 1200px;
  margin: 0 0 60px;
  line-height: 1.7;
}

.services-bento-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.bento-card {
  width: calc(50% - 12px);
  background: #fff;
  border-radius: 12px;
  display: flex;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  border: 1px solid #f4f5f7;
  flex-direction: row;
  padding: 0;
}

.bento-card.full-width {
  width: 100%;
}

.bento-left {
  background-color: #fdfdfd;
  padding: 20px;
  flex: 0 0 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-right: 1px solid #f4f5f7;
}

.bento-icon {
  background-color: var(--dark-3);
  color: #000;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.bento-icon svg {
  width: 50px;
  height: 50px;
  stroke-width: 2px;
}

.bento-left h3 {
  font-size: 15px;
  color: #1a1e2d;
  font-weight: 700;
  line-height: 1.4;
}

.bento-right {
  padding: 40px 20px 10px;
  flex: 1;
  display: flex;
  align-items: baseline;
  flex-direction: column;
}

.bento-right p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Process Section */
.game-process-section {
  padding: 100px 0 120px;
  background-color: var(--sada);
}

.process-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: start;
}

.g-process-card {
  border-radius: 12px;
  padding: 30px 25px;
  position: relative;
  transition: transform 0.3s ease;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}

/* Staggered grid effect */
.g-process-card:nth-child(2),
.g-process-card:nth-child(4),
.g-process-card:nth-child(6),
.g-process-card:nth-child(8) {
  transform: translateY(40px);
}

.g-process-card:hover {
  transform: translateY(-5px);
}

.g-process-card:nth-child(2):hover,
.g-process-card:nth-child(4):hover,
.g-process-card:nth-child(6):hover,
.g-process-card:nth-child(8):hover {
  transform: translateY(35px);
}

.g-process-num {
  font-size: 46px;
  font-weight: 800;
  color: var(--dark-3);
  margin-bottom: 15px;
  line-height: 1;
}

.g-process-card h3 {
  font-size: 17px;
  color: #1a1e2d;
  font-weight: 800;
  margin-bottom: 15px;
  line-height: 1.3;
}

.g-process-card p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.7;
  flex-grow: 1;
}

.process-arrow {
  margin-top: 20px;
  align-self: center;
  color: #fff;
  opacity: 0.8;
}

.process-arrow svg {
  width: 20px;
  height: 20px;
}

/* Background colors for process cards */
.card-purple {
  background-color: #ede4fb;
}

.card-pink {
  background-color: #fde3e8;
}

.card-blue {
  background-color: #e6f4f1;
}

.card-peach {
  background-color: #f6e6e2;
}

.card-yellow {
  background-color: #fdf1d6;
}

.card-lavender {
  background-color: #eedff6;
}

.card-green {
  background-color: #e3eedc;
}

.card-gray {
  background-color: #ececec;
}

/* Responsive additions */
@media (max-width: 1200px) {
.bento-card {
    flex-direction: column;
}
.bento-left {
    border-right: 0;
    max-width: 170px;
    height: 100px;
    display: block;
    flex: unset;
}
.process-cards-grid {
    grid-template-columns: repeat(3, 1fr);
}
.g-process-card:nth-child(2), .g-process-card:nth-child(4), .g-process-card:nth-child(6), .g-process-card:nth-child(8) {
    transform: translateY(0px);
}
}
@media (max-width: 991px) {
  .process-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Reset stagger for 3 columns */
  .g-process-card:nth-child(2),
  .g-process-card:nth-child(4),
  .g-process-card:nth-child(6) {
    transform: none;
  }

  .g-process-card:nth-child(2):hover,
  .g-process-card:nth-child(4):hover,
  .g-process-card:nth-child(6):hover {
    transform: translateY(-5px);
  }

  /* Apply stagger to middle column */
  .g-process-card:nth-child(2),
  .g-process-card:nth-child(5) {
    transform: translateY(30px);
  }

  .g-process-card:nth-child(2):hover,
  .g-process-card:nth-child(5):hover {
    transform: translateY(25px);
  }
}

@media (max-width: 767px) {
  .bento-left {
    flex: 0 0 200px;
  }

  .bento-right {
    padding: 25px;
  }

  .process-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Reset stagger for 2 columns */
  .g-process-card:nth-child(2),
  .g-process-card:nth-child(5) {
    transform: none;
  }

  .g-process-card:nth-child(2):hover,
  .g-process-card:nth-child(5):hover {
    transform: translateY(-5px);
  }

  /* Apply stagger to 2nd column */
  .g-process-card:nth-child(even) {
    transform: translateY(20px);
  }

  .g-process-card:nth-child(even):hover {
    transform: translateY(15px);
  }
}

@media (max-width: 576px) {
	.game-hero-grid {
    gap: 10px;
}
.grid-item.item-img, .grid-col.col-up .item-img {
    height: 125px;
}
.grid-item.item-icon, .grid-item.item-icon {
    height: 120px;
}
.grid-col.col-down .item-card {
    height: 150px;
}
.games-services-section {
    padding: 50px 0;
}
.services-bento-grid {
    flex-direction: column;
}
  .bento-card {
    flex-direction: column;
	 width: 100%;
  }

  .bento-left {
    flex: auto;
    width: 100%;
    border-right: none;
    border-bottom: 0;
  }

  .process-cards-grid {
    grid-template-columns: 1fr;
  }

  .g-process-card:nth-child(even) {
    transform: none;
  }

  .g-process-card:nth-child(even):hover {
    transform: translateY(-5px);
  }
}