* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-red: #e62d36;
  --primary-blue: #00549d;
  --text-dark: #333;
  --text-light: #fff;
  --border-color: #ddd;
  --bg-light: #f8f8f8;
  --container-max-width: 1400px;
  --footer-bg: #0b1c2b;
}

body {
  font-family: "Century Gothic", "Trebuchet MS", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

.btn {
  padding: 11px 24px;
  border-radius: 25px;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}

/* HERO SECTION */
.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 91, 158, 1) 0%, rgba(239, 59, 66, 1) 100%);
  opacity: 55%;
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: var(--container-max-width);
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
}

.hero-content {
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.hero-title {
  font-size: 48px;
  font-weight: 400;
  line-height: 1.3;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  font-family: "Century Gothic", "Trebuchet MS", sans-serif;
  max-width: 70%;
}

.hero-description {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  max-width: 600px;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
  font-family: "Century Gothic", "Trebuchet MS", sans-serif;
}

/* ABOUT SECTION */
.about-section {
  background-color: #fff;
  padding: 60px 0;
  position: relative;
}

.about-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-blue);
  font-family: "Century Gothic", "Trebuchet MS", sans-serif;
  line-height: 1.2;
  margin-bottom: 8px;
}

.about-subtitle {
  font-size: 20px;
  font-weight: 400;
  color: var(--primary-blue);
  font-style: italic;
  font-family: "Century Gothic", "Trebuchet MS", sans-serif;
  line-height: 1.3;
  margin-bottom: 12px;
}

.about-description {
  font-size: 15px;
  font-weight: 400;
  color: var(--primary-blue);
  line-height: 1.6;
  font-family: "Century Gothic", "Trebuchet MS", sans-serif;
  margin-bottom: 12px;
}

.about-image-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px;
}

.about-bg-pattern {
  position: absolute;
  top: -60px;
  width: 800px;
  height: 550px;
  background-image: url("/assets/img/bg-about.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  pointer-events: none;
}

.about-image {
  position: relative;
  z-index: 1;
  max-width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.view-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-red);
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  font-family: "Century Gothic", "Trebuchet MS", sans-serif;
  transition: all 0.3s ease;
  white-space: nowrap;
  margin-top: 12px;
}

.view-more-link:hover {
  color: var(--primary-blue);
  transform: translateX(4px);
}

.arrow-icon {
  font-size: 12px;
}

/* VALUES SECTION */
.values-section {
  background-color: #f0f2f5;
  padding: 60px 0;
}

.values-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.values-header {
  text-align: center;
  margin-bottom: 50px;
}

.values-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 8px;
}

.values-subtitle {
  font-size: 20px;
  color: var(--primary-blue);
  font-style: italic;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
}

.value-card {
  background-color: #fff;
  padding: 30px 20px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 84, 157, 0.2);
}

.value-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.value-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 12px;
}

.value-description {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

/* SOLUTIONS AND SERVICES SECTION */
.solutions-section {
  background-color: #fff;
  padding: 60px 0;
}

.solutions-header {
  max-width: var(--container-max-width);
  margin: 0 auto 50px;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.solutions-left {
  flex: 1;
}

.solutions-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-blue);
  font-family: "Century Gothic", "Trebuchet MS", sans-serif;
  margin-bottom: 8px;
  line-height: 1.2;
}

.solutions-subtitle {
  font-size: 20px;
  font-weight: 400;
  color: var(--primary-blue);
  font-style: italic;
  font-family: "Century Gothic", "Trebuchet MS", sans-serif;
  line-height: 1.3;
}

.solutions-carousel {
  position: relative;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  overflow: hidden;
}

.carousel-container {
  flex: 1;
  overflow: visible;
  position: relative;
  min-height: 450px;
  padding: 25px 0;
}

.carousel-track {
  display: flex;
  gap: 30px;
  transition: transform 0.5s ease;
}

.solution-card {
  flex: 0 0 calc(33.333% - 20px);
  background-color: #f5f5f5;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.solution-card:hover {
  background-color: var(--primary-blue);
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 84, 157, 0.3);
}

.solution-card:hover .card-image img {
  filter: brightness(0.95);
}

.solution-card:hover .card-title,
.solution-card:hover .card-description,
.solution-card:hover .card-link {
  color: var(--text-light);
}

.card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e8e8e8;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.3s ease;
}

.card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-blue);
  font-family: "Century Gothic", "Trebuchet MS", sans-serif;
  transition: color 0.3s ease;
}

.card-description {
  font-size: 14px;
  font-weight: 400;
  color: var(--primary-blue);
  font-style: italic;
  font-family: "Century Gothic", "Trebuchet MS", sans-serif;
  transition: color 0.3s ease;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-red);
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  font-family: "Century Gothic", "Trebuchet MS", sans-serif;
  transition: all 0.3s ease;
  margin-top: 8px;
}

.solution-card:hover .card-link {
  color: var(--text-light);
}

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

/* VIDEO SECTION */
.video-section {
  position: relative;
  width: 100%;
  height: 720px;
  overflow: hidden;
  background-color: #000;
}

.section-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-controls {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: flex;
  gap: 12px;
}

.video-control-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: var(--text-light);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  opacity: 0.6;
}

.video-control-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
  border-color: var(--text-light);
  transform: scale(1.1);
  opacity: 1;
}

.control-icon {
  display: inline-block;
}

/* XSOC SERVICES SECTION WITH ACCORDION AND DYNAMIC IMAGE */
.xsoc-section {
  background-color: #fff;
  padding: 60px 0;
}

.xsoc-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

.xsoc-accordion-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.xsoc-header {
  margin-bottom: 20px;
}

.xsoc-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 8px;
}

.xsoc-subtitle {
  font-size: 20px;
  color: var(--primary-blue);
  font-style: italic;
}

.xsoc-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-item.active {
  background-color: var(--primary-blue);
}

.accordion-header {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.accordion-item.active .accordion-header {
  color: var(--text-light);
}

.accordion-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-blue);
  transition: color 0.3s ease;
}

.accordion-item.active .accordion-title {
  color: var(--text-light);
}

.accordion-toggle {
  font-size: 24px;
  color: var(--primary-blue);
  transition: all 0.3s ease;
}

.accordion-item.active .accordion-toggle {
  color: var(--text-light);
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
  max-height: 200px;
  padding: 0 24px 20px;
}

.accordion-content p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
}

.xsoc-image-wrapper {
  position: sticky;
  top: 100px;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.xsoc-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: opacity 0.3s ease;
}

.xsoc-image.fade {
  opacity: 0.3;
}

@keyframes imageZoom {
  0% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
  }
}

/* BLOG AND NEWS SECTION */
.blog-section {
  background-color: #f0f2f5;
  padding: 60px 0;
  position: relative;
}

.blog-header {
  max-width: var(--container-max-width);
  margin: 0 auto 50px;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.blog-left {
  flex: 1;
}

.blog-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-blue);
  font-family: "Century Gothic", "Trebuchet MS", sans-serif;
  margin-bottom: 8px;
  line-height: 1.2;
}

.blog-subtitle {
  font-size: 20px;
  font-weight: 400;
  color: var(--primary-blue);
  font-style: italic;
  font-family: "Century Gothic", "Trebuchet MS", sans-serif;
  line-height: 1.3;
}

.blog-grid {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 84, 157, 0.2);
}

.blog-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e8e8e8;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blog-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-blue);
  font-family: "Century Gothic", "Trebuchet MS", sans-serif;
  transition: color 0.3s ease;
  line-height: 1.3;
}

.blog-card-description {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

.blog-card-link {
  color: var(--primary-red);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.blog-card-link:hover {
  color: var(--primary-blue);
}


/* PARTNERS SECTION */
.partners-section {
  background-color: #f0f2f5;
  padding: 60px 0;
  position: relative;
}

.partners-header {
  max-width: var(--container-max-width);
  margin: 0 auto 40px;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.partners-left {
  flex: 1;
}

.partners-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-blue);
  font-family: "Century Gothic", "Trebuchet MS", sans-serif;
  margin-bottom: 8px;
  line-height: 1.2;
}

.partners-subtitle {
  font-size: 20px;
  font-weight: 400;
  color: var(--primary-blue);
  font-style: italic;
  font-family: "Century Gothic", "Trebuchet MS", sans-serif;
  line-height: 1.3;
}

.partners-grid-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
}

.partners-background {
  position: absolute;
  right: 0;
  top: 0;
  width: 40%;
  height: 100%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  opacity: 0.3;
  pointer-events: none;
}

.nodos-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  background-color: transparent;
  position: relative;
  z-index: 2;
}

.partner-item {
  aspect-ratio: 1.5 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: transparent;
  transition: background-color 0.3s ease;
  border-right: 1px solid #d0d0d0;
  border-bottom: 1px solid #d0d0d0;
}

.partner-item:nth-child(5n) {
  border-right: none;
}

.partner-item:nth-last-child(-n + 5) {
  border-bottom: none;
}

.partner-item:hover {
  background-color: #fafafa;
}

.partner-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: all 0.3s ease;
  filter: none;
  opacity: 1;
}

.partner-item:hover img {
  transform: scale(1.05);
}

/* COUNTERS SECTION */
.counters-section {
  background: linear-gradient(135deg, #00549d 0%, #003d73 100%);
  padding: 60px 0;
  color: var(--text-light);
}

.counters-header {
  max-width: var(--container-max-width);
  margin: 0 auto 40px;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.counters-left {
  flex: 1;
}

.counters-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-light);
  font-family: "Century Gothic", "Trebuchet MS", sans-serif;
  margin-bottom: 8px;
  line-height: 1.2;
}

.counters-subtitle {
  font-size: 20px;
  font-weight: 400;
  color: var(--text-light);
  font-style: italic;
  font-family: "Century Gothic", "Trebuchet MS", sans-serif;
  line-height: 1.3;
}

.counters-grid {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.counter-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.counter-card:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.counter-value {
  font-size: 52px;
  font-weight: 700;
  color: var(--text-light);
  line-height: 1;
}

.counter-label {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-light);
  opacity: 0.95;
  line-height: 1.4;
}

/* OFFICES SECTION */
.offices-section {
  background-color: #f8f9fa;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.offices-map-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  opacity: 0.1;
}

.offices-map-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offices-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 80px;
  align-items: start;
}

.offices-cards-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.office-header {
  margin-bottom: 32px;
}

.office-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 12px;
  line-height: 1.2;
}

.office-subtitle {
  font-size: 20px;
  color: var(--primary-blue);
  font-style: italic;
}

.office-card {
  padding: 24px 28px;
  background-color: #fff;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.office-card:hover,
.office-card.active {
  background-color: var(--primary-blue);
  border-left-color: var(--primary-red);
  box-shadow: 0 4px 16px rgba(0, 84, 157, 0.2);
  transform: translateX(8px);
}

.office-location {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.location-number {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-blue);
  transition: color 0.3s ease;
}

.office-card:hover .location-number,
.office-card.active .location-number {
  color: var(--text-light);
}

.office-country {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-blue);
  margin: 0;
  transition: color 0.3s ease;
}

.office-card:hover .office-country,
.office-card.active .office-country {
  color: var(--text-light);
}

.office-address {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0;
  transition: color 0.3s ease;
}

.office-card:hover .office-address,
.office-card.active .office-address {
  color: rgba(255, 255, 255, 0.9);
}

.office-phone {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.office-card:hover .office-phone,
.office-card.active .office-phone {
  color: var(--text-light);
}

.offices-map-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.interactive-map {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

/* ===================================================================
   RESPONSIVE STYLES
   =================================================================== */

/* Tablet - 1024px and below */
@media (max-width: 1024px) {
  .hero {
    height: 500px;
  }

  .hero-title {
    font-size: 40px;
    max-width: 85%;
  }

  .about-container,
  .xsoc-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .solutions-carousel {
    padding: 0 20px;
  }

  .solution-card {
    flex: 0 0 calc(50% - 15px);
  }

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

  .partners-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .partner-item:nth-child(5n) {
    border-right: 1px solid #d0d0d0;
  }

  .partner-item:nth-child(4n) {
    border-right: none;
  }

  .counters-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .offices-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .xsoc-image-wrapper {
    position: relative;
    top: 0;
    height: 400px;
  }

  .about-bg-pattern {
  display: none;
}
}

/* Mobile - 768px and below */
@media (max-width: 768px) {
  .hero {
    height: 400px;
  }

  .hero-container {
    padding: 0 20px;
  }

  .hero-title {
    font-size: 32px;
    max-width: 100%;
  }

  .hero-description {
    font-size: 14px;
  }

  .about-container,
  .solutions-header,
  .blog-header,
  .partners-header,
  .counters-header {
    padding: 0 20px;
  }

  .about-title,
  .solutions-title,
  .blog-title,
  .partners-title,
  .counters-title,
  .office-title {
    font-size: 28px;
  }

  .about-subtitle,
  .solutions-subtitle,
  .blog-subtitle,
  .partners-subtitle,
  .counters-subtitle,
  .office-subtitle {
    font-size: 16px;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .solutions-carousel {
    padding: 0 20px;
  }

  .solution-card {
    flex: 0 0 100%;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .partner-item:nth-child(4n) {
    border-right: 1px solid #d0d0d0;
  }

  .partner-item:nth-child(3n) {
    border-right: none;
  }

  .partner-item {
    padding: 15px;
  }

  .counters-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .counter-value {
    font-size: 42px;
  }

  .offices-container {
    padding: 0 20px;
  }

  .offices-cards-wrapper {
    gap: 16px;
  }

  .office-card {
    padding: 20px;
  }

  .office-title {
    font-size: 32px;
  }

  .xsoc-image-wrapper {
    height: 300px;
  }

  .about-bg-pattern {
  display: none;
}
}

/* Small Mobile - 480px and below */
@media (max-width: 480px) {
  .hero {
    height: 350px;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-description {
    font-size: 13px;
  }

  .about-title,
  .solutions-title,
  .blog-title,
  .partners-title,
  .counters-title {
    font-size: 24px;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .value-card {
    padding: 24px 16px;
  }

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

  .partner-item:nth-child(3n) {
    border-right: 1px solid #d0d0d0;
  }

  .partner-item:nth-child(2n) {
    border-right: none;
  }

  .partner-item {
    padding: 12px;
  }

  .counter-value {
    font-size: 36px;
  }

  .office-title {
    font-size: 28px;
  }

  .office-country {
    font-size: 18px;
  }

  .offices-section {
    padding: 60px 0;
  }

  .about-bg-pattern {
  display: none;
}
}


/* === SERVICES CARDS RESPONSIVE FIX === */

/* Tablet */
@media (max-width: 1024px) {
  .solution-card {
    flex: 0 0 calc(50% - 15px);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .carousel-track {
    gap: 20px;
  }

  .solution-card {
    flex: 0 0 100%;
  }

  .card-image {
    height: 200px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .card-image {
    height: 180px;
  }

  .card-content {
    padding: 20px;
  }
}


@media (max-width: 768px) {
  .carousel-container {
    overflow: hidden;
  }

  .carousel-track {
    display: flex;
    width: 100%;
  }

  .solution-card {
    min-width: 100%;
  }
}

.values-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
