/* ==========================================================================
   Capabilities Section Styles
   ========================================================================== */

   .capabilities {
    padding: 4rem 0;
    background: #f9f9f9; /* Light background for contrast */
  }
  
  .capabilities .section-heading {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .capabilities-list {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr 1fr; /* Default 2-column layout */
  }
  
  .capability-item {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .capability-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  }
  
  .capability-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
  }
  
  .capability-description {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
  }
  
  .capability-item a {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #ffffff;
    background: #6F00FF;
    border-radius: 30px;
    text-align: center;
    transition: background 0.3s ease;
  }
  
  .capability-item a:hover {
    background: #5A00E0;
  }
  
  /* ==========================================================================
   Spacing before the Solution Capabilities title and the tools
   ========================================================================== */

#capabilities-heading {
    margin-bottom: 3rem;  /* Adds space between the title and the capabilities list */
  }
  
  .capabilities-list {
    margin-top: 2rem;  /* Adds space between the title and the list of capabilities */
  }

  /* ==========================================================================
   Design Enhancements for Solution Capabilities Title
   ========================================================================== */

#capabilities-heading {
    font-size: 2.25rem; /* Ensure proper title size */
    font-weight: 700;
    color: #333;  /* Dark text color for contrast */
    text-align: center;
    margin-bottom: 3rem;  /* Spacing before capabilities list */
    
    /* Gradient underline to give it a stylish look */
    position: relative;
    display: inline-block;
  }
  
  #capabilities-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #6F00FF, #5A00E0); /* Purple gradient underline */
    border-radius: 2px;
  }
  
  /* Optional: Add a subtle text shadow for extra emphasis */
  #capabilities-heading {
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  
  .capabilities-list {
    margin-top: 2rem;
  }
  
  /* Add spacing between the text and CTA button */
.capability-item p {
    margin-bottom: 1.5rem; /* Adjust this value to control the spacing */
  }
  
  .capability-item a {
    margin-top: 1rem; /* Add spacing above the CTA button */
  }
  
/* ==========================================================================
   Solution Pillars Button Styling
   ========================================================================== */

   .cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
  }
  
  .solution-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 16px;
  }
  
  .card-media img {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 16px;
  }
  
  .card-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 16px;
    text-align: center;
  }
  
  /* Button Styling */
  .card-body a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    padding: 12px 20px;
    background-color: #6F00FF;
    color: white;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 30px;
    width: 100%;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 16px;
  }
  
  .card-body a:hover {
    background-color: #5A00E0;
    transform: translateY(-3px); /* Slight hover lift effect */
  }
  
  /* Mobile Responsiveness */
  @media (max-width: 768px) {
    .cards-grid {
      grid-template-columns: 1fr;
    }
  
    .card-title {
      font-size: 1.1rem;
    }
  
    .card-body a {
      font-size: 0.9rem;
    }
  }

/* ==========================================================================
   Solution Pillars - Button and Card Styling
   ========================================================================== */

/* General Styling for Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Adjust grid layout */
    gap: 20px;
    margin-top: 20px;
  }
  
  .solution-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    height: 100%;
    transition: transform 0.3s ease;
  }
  
  .solution-card:hover {
    transform: translateY(-5px); /* Adds slight hover effect */
  }
  
  /* Card Title Styling */
  .card-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
  }
  
  /* Card Subtitle Styling */
  .card-subtitle {
    font-size: 1rem;
    color: #666;
    text-align: center;
    margin-bottom: 20px;
  }
  
  /* Button Styling */
  .card-body a {
    display: inline-block;
    font-size: 0.875rem;  /* Smaller font size */
    padding: 8px 16px;    /* Reduced padding */
    background-color: #6F00FF;
    color: white;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 30px;
    text-align: center;
    width: 100%;         /* Ensure buttons are the same width */
    transition: background-color 0.3s ease;
    margin-top: 16px;     /* Add space between button and content */
  }
  
  .card-body a:hover {
    background-color: #5A00E0; /* Darker color on hover */
  }
  
  /* Card Media (Image) Styling */
  .card-media img {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 16px;
  }
  
  /* Ensure consistent height for all cards */
  .cards-grid .solution-card {
    height: auto;
  }
  
  /* Mobile Responsiveness */
  @media (max-width: 768px) {
    .cards-grid {
      grid-template-columns: 1fr; /* Single column layout for mobile */
    }
  
    .card-title {
      font-size: 1.1rem;
    }
  
    .card-body a {
      font-size: 0.9rem;
    }
  
    .card-media img {
      height: 150px;  /* Adjust image height for mobile */
    }
  }
   
/* Center the images within their container */
.solution-card .card-media {
    display: flex;
    justify-content: center;  /* Horizontally center */
    align-items: center;      /* Vertically center */
    height: 200px;            /* Adjust this value based on your preferred card height */
  }
  
  /* Optional: to make images fit within the container while maintaining aspect ratio */
  .solution-card .card-media img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;      /* Ensures the image scales without distortion */
  }
  
  
  /* Responsive layout: Stacked on smaller screens */
  @media (max-width: 768px) {
    .capabilities-list {
      grid-template-columns: 1fr;
    }
  
    .capability-item {
      padding: 1.5rem;
    }
  
    .capability-title {
      font-size: 1.25rem;
    }
  
    .capability-description {
      font-size: 0.95rem;
    }
  }
  