.core-capabilities {
  padding: 20px;
  margin: 40px auto;
  font-family: Arial, sans-serif;
}

.core-capabilities h2 {
  color: #007bff;
  font-size: 48px;
  font-weight: bold
    /* margin-bottom: 5px; */
}

.subtitle {
  background: linear-gradient(to right, #53B1FF 34%, #326A99 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  margin-top: -10px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 50px;
}

.capability-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.capability-item {
  width: 48%;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.capability-item img {
  width: 30px;
  height: 30px;
}

.capability-item h4 {
  margin: 0;
  font-size: 16px;
  font-weight: bold;
  color: #000;
}

.capability-item p {
  font-size: 14px;
  color: #000;
  margin: 5px 0 0 0;
}

.divider {
  border-top: 1px solid #e5e5e5;
  margin: 15px 0;
}

.fit-stack {
  text-align: center;
  font-family: Arial, sans-serif;
  padding: 40px 20px;
}

.fit-stack h2 {
  color: #007bff;
  font-size: 48px;
  font-weight: 600;
  margin-bottom: 5px;
}

.fit-subtitle {
  /* color: #4a90e2; */
  background: linear-gradient(to right, #53B1FF 34%, #326A99 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-size: 22px;
  margin-bottom: 30px;
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 10px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
}

.fit-cell {
  border: 1px solid #f0c0d0;
  padding: 15px;
  text-align: left;
  position: relative;
  min-height: 180px;
}

.step-number {
  position: absolute;
  top: 10px;
  left: 10px;
  color: #b4005a;
  font-weight: bold;
}

.fit-cell h4 {
  margin-top: 30px;
  font-size: 16px;
}

.fit-cell p {
  font-size: 14px;
  margin-top: 5px;
}

.fit-highlight {
  grid-column: span 1;
  grid-row: span 2;
  background: linear-gradient(to right, #007bff, #00aaff);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fit-highlight h3 {
  font-size: 20px;
}

.fit-highlight p {
  font-size: 14px;
  margin: 15px 0;
}

.fit-highlight button {
  background: #fff;
  color: #007bff;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
}

.highlight {
  color: #ff007f;
  /* bright pink */
  font-weight: 500;
  /* optional: make it slightly bolder */
}

.oms-banner {
  background: linear-gradient(360deg, #53B1FF, #326A99);
  color: white;
  text-align: center;
  padding: 120px 20px;
}

.oms-banner p {
  font-size: 29px;
  line-height: 1.5;
  margin: 0;
  font-weight: 500
}

.oms-banner .highlight {
  color: #ffdf00;
  /* bright yellow */
  font-weight: bold;
}

.wins-section {
  text-align: center;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
}

/* .wins-section h2 {
  color: #007bff;
  font-size: 28px;
  text-align: left;
} */

.wins-subtitle {
  color: #4a90e2;
  font-size: 18px;
  text-align: left;
  margin: 10px 0 30px;
}

.wins-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.wins-card {
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 15px;
  text-align: left;
  max-height: fit-content;
  max-width: 466px;
  /* padding: 100px;   */
}

.wins-card img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  background: #ccc;
  /* fallback background if image fails */
}

.wins-card h4 {
  margin-top: 10px;
  color: #007bff;
}

.wins-card ul {
  padding-left: 18px;
  font-size: 14px;
  color: #333;
}

.wins-card ul li {
  margin-bottom: 11px;
}

.gradient-heading {
  font-size: 48px;
  /* margin-bottom: 20px; */
}

.thin-heading {
  font-weight: 340;
  /* thin */
  display: block;
  /* forces new line */
  margin-top: 5px;
  margin-bottom: 8px;
}

.explore-btn {
  padding: 5px 24px;
  background-color: #007bff;
  border: none;
  border-radius: 0 25px 25px 0;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
}

.explore-btn span {
  display: block;
  /* forces Capabilities to new line */
  font-weight: normal;
  /* optionally reduce weight */
  font-size: 12px;
  /* slightly smaller text */
}

.workflow-container {
  display: grid;
  grid-template-columns: 300px 300px 300px;
  grid-template-rows: repeat(2, auto);
  border: 1px solid #53B1FF;
  border-radius: 12px;
  overflow: hidden;
  font-family: Arial, sans-serif;
  width: max-content;
  margin: 0 auto;
}

.workflow-box {
  border-right: 1px solid #53B1FF;
  border-bottom: 1px solid #53B1FF;
  height: 300px;
  width: 300px;
  padding: 12px;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  position: relative;
}

.workflow-box h4 {
  font-weight: bold;
  align-self: center;
}

.workflow-box:nth-child(3) {
  border-right: none;
}

.workflow-box:nth-child(4) {
  border-bottom: none;
}

.workflow-highlight {
  grid-column: 2 / span 2;
  background: linear-gradient(180deg, #53B1FF, #326A99);
  color: white;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  border-top: 1px solid #ff69b4;
  width: 900px;
  /* 300px x 3 columns */
  box-sizing: border-box;
}

.workflow-content h4 {
  font-weight: bold;
}

.workflow-box h4,
.workflow-content h4 {
  text-align:center;
}

.workflow-content p {
  margin: 0;
  line-height: 1;
  /* or try 1.1 for slightly more spacing */
}

/* .workflow-content p {
  margin: 0;
} */

.workflow-highlight h3 {
  margin: 0 0 10px;
  font-size: 35px;
}

.workflow-highlight p {
  font-size: 18px;
  line-height: 1;
}

.discovery-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
}

.circle-arrow {
  background-color: #e10098;
  /* Pink background */
  color: white;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  font-weight: 300;
}

.btn-text {
  color: #fff;
  display: inline-block;
  text-align: left;
}

/* .discovery-btn:hover {
  background: #e0e0e0;
} */
.workflow-number {
  position: absolute;
  top: 12px;
  left: 12px;
  font-weight: bold;
  font-size: 18px;
  color: #c2185b;
}

.wins-section {
  padding: 20px 40px;
  /* Adds space on left/right */
}

.wins-section h2 {
  margin-bottom: 10px;
  text-align: left;
  margin-left: 30px;
  font-size: 40px;
  background: linear-gradient(360deg, #53B1FF, #326A99);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
}

.wins-subtitle {
  text-align: left;
  margin-left: 30px;
  margin-bottom: 20px;
}

.wins-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  /* space between cards */
}

.wins-card {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 16px;
  background-color: #ECF3FC;
  box-shadow: 4px 4px 4px 4px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.wins-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 4px;
}

.wins-card h4 {
  margin-top: 12px;
}

.wins-card ul {
  padding-left: 20px;
  margin-top: 8px;
}

.wins-card li {
  margin: 0;
  line-height: 0.8;
  font-weight: 500;
  color: #000;

}

.main-section {
  position: relative;
}

.pixel-text-bottom {
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 380px;
  color: rgba(0, 0, 0, 0.05);
  /* Light faded color */
  z-index: 1;
  /* Behind input */
}

.email-input {
  position: relative;
  z-index: 2;
  /* Above 'talk.' */
}

.wins-card h4 {
  font-weight: 700;
  background: linear-gradient(360deg, #53B1FF, #326A99);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.email-form button {
  height: 50px;
  font-size: 12px;
  background-color: #53B1FF;
  color: white;
  border: none;
  border-radius: 50px 50px 50px 50px;
  padding: 10px 20px;
  font-weight: 500;
}

.text-gradient {
  background: linear-gradient(to right, #982A67 0%, #FE46AC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.icon-image {
  margin-right: 12px;
  width: 30px;
  /* Same as default FA icon size */
  height: 30px;
  vertical-align: middle;
  /* Aligns with text */
  object-fit: contain;
}

.workflow-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 40px auto;
  /* top: 0, right: auto, bottom: 50px, left: auto */
  display: block;
}

.workflow-icon2 {
  width: 90px;
  height: 90px;
  margin: 0 auto 40px auto;
  /* top: 0, right: auto, bottom: 50px, left: auto */
  display: block;
}

.workflow-icon1 {
  width: 90px;
  height: 90px;
  display: block;
  position: relative;
  top: 20px;
  /* Moves the icon 30px down */
  margin: 0 auto 40px auto;
}

@media (max-width: 480px) {
  .main-section-background {
    background-size: 90%;
    min-height: 50vh;
  }

  .text-gradient {
    font-size: 30px !important;
  }

  .core-capabilities {
    text-align: center;
  }

  .feature-title-secure,
  .feature-title-performance,
  .feature-title-api,
  .feature-title-ai,
  .feature-title-testing,
  .feature-title-deploy {
    justify-content: center;

  }

}

/* Responsive styles for .core-capabilities */
@media (max-width: 900px) {
  .core-capabilities {
    max-width: 90vw;
    padding: 20px;
    margin: 40px auto;
  }
}

/* Responsive styles for .capability-row */
@media (max-width: 768px) {
  .capability-item {
    border-bottom: 1px solid #e5e5e5;
    width: 100%;
    padding-bottom: 40px;
  }

  .divider {
    display: none;
  }
}

/* Responsive styles for .fit-stack */
@media (max-width: 768px) {
  .fit-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-template-rows: auto;
  }

  .fit-highlight {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

/* Responsive styles for .oms-banner */
@media (max-width: 768px) {
  .oms-banner p {
    font-size: clamp(16px, 2.5vw, 20px);
  }
}

/* Responsive styles for .wins-section */
@media (max-width: 768px) {
  .wins-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .wins-section {
    padding: 20px 20px;
  }
}

/* Responsive styles for .workflow-container */
@media (max-width: 900px) {
  .workflow-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 90vw;
    margin: 0 auto;
  }

  .workflow-box {
    width: 100%;
    height: 300px;
    border-right: none;
    border-bottom: 1px solid #53B1FF;
  }

  .workflow-box:nth-child(3) {
    border-right: none;
  }

  .workflow-box:nth-child(4) {
    border-bottom: none;
  }

  .workflow-highlight {
    width: 100%;
    grid-column: unset;
    grid-row: unset;
    border-top: 1px solid #ff69b4;
  }
}

@media (min-width: 901px) {
  .workflow-container {
    display: grid;
    grid-template-columns: 300px 300px 300px;
    grid-template-rows: repeat(2, auto);
    width: max-content;
  }

  .workflow-box {
    width: 300px;
    border-right: 1px solid #53B1FF;
  }

  .workflow-box:nth-child(3) {
    border-right: none;
  }

  .workflow-box:nth-child(4) {
    border-bottom: none;
  }

  .workflow-highlight {
    grid-column: 2 / span 2;
    width: 900px;
  }
}

/* Responsive styles for .pixel-text-bottom */
@media (max-width: 768px) {
  .pixel-text-bottom {
    font-size: clamp(100px, 20vw, 380px);
  }
}

.oms-banner-text {
  font-size: 50px !important;
  line-height: 1 !important;
  font-weight: 400 !important;
}


/* 1. Core Capabilities: Make feature rows stack and icons/text align well on mobile */
@media (max-width: 991.98px) {
  .core-capabilities .row>[class^="col-"] {
    margin-bottom: 1.5rem;
  }


  .icon-image {
    width: 38px;
    height: 38px;
    margin-right: 10px;
  }
}

/* 2. Core Capabilities: Stack columns on mobile */
@media (max-width: 767.98px) {
  .core-capabilities .row {
    flex-direction: column !important;
  }

  .core-capabilities .row>[class^="col-"] {
    max-width: 100%;
    flex: 0 0 100%;
  }

  .icon-image {
    width: 32px;
    height: 32px;
  }

  .gradient-heading {
    font-size: 2rem !important;
  }

  .subtitle {
    font-size: 1.1rem !important;
  }
}

/* 3. Workflow Section: Make grid stack on mobile */
@media (max-width: 991.98px) {
  .workflow-container {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100vw !important;
    gap: 1.5rem;
  }

  .workflow-box,
  .workflow-highlight {
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 180px;
    margin-bottom: 1.5rem;
  }

  .workflow-highlight {
    padding: 18px 12px;
  }

  .workflow-icon,
  .workflow-icon1,
  .workflow-icon2 {
    width: 56px !important;
    height: 56px !important;
    margin-bottom: 18px !important;
  }
}

/* 4. Wins Grid: Stack cards on mobile */
@media (max-width: 991.98px) {
  .wins-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem;
    align-items: stretch;
  }

  .wins-card {
    width: 100% !important;
    max-width: 100%;
    margin: 0 auto;
  }
}

/* 5. Footer: Stack columns and center logo/text on mobile */
@media (max-width: 767.98px) {
  .footer .row>[class^="col-"] {
    max-width: 100%;
    flex: 0 0 100%;
    text-align: center;
  }

  .footer-logo {
    margin: 0 auto 1rem auto;
    /* display: block; */
    max-width: 180px;
  }

  .contact-info {
    text-align: center;
  }
}

/* 6. General: Prevent horizontal scroll and adjust paddings */
@media (max-width: 991.98px) {

  .container,
  .container-fluid,
  .core-capabilities,
  .fit-stack {
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 0px;
  }
}

/* 7. Responsive font sizes for headings and banners */
@media (max-width: 600px) {
  .gradient-heading {
    font-size: 1.5rem !important;
  }

  .workflow-highlight h3,
  .oms-banner-text {
    font-size: 1.1rem !important;
  }
}

/* 8. Responsive button sizing */
@media (max-width: 576px) {

  .btn-ten,
  .discovery-btn {
    width: 100%;
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
  }
}