/* --- Section Basics --- */
.rocket-services-section {
  background-color: #F8F9FA; 
  font-family: inherit;
}

.rocket-section-title {
  color: #1A1A1A;
  font-weight: 800;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.rocket-title-underline {
  height: 4px;
  width: 60px;
  background-color: #D4AF37;
  margin: 0 auto;
  border-radius: 2px;
}

/* --- Card Styling --- */
.rocket-service-card {
  background: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease-in-out;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #eaeaea;
  position: relative; 
}

.rocket-service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: #D4AF37;
}

/* --- Image Wrapper --- */
.rsc-image-wrapper {
  width: 100%;
  height: 380px; /* Increased to accommodate the wider 2-column layout */
  overflow: hidden;
  background-color: #1A1A1A; 
}

.rsc-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center; /* Prevents the tops of software UI images from being cropped */
  transition: transform 0.5s ease;
  opacity: 0.85; 
}

.rocket-service-card:hover .rsc-image-wrapper img {
  transform: scale(1.05); 
  opacity: 1;
}

/* --- Large Iconograph Implementation --- */
.rsc-icon-wrapper {
  background: #1A1A1A;
  width: 80px;
  height: 80px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -40px; 
  margin-left: 1.5rem;
  border: 4px solid #FFFFFF; 
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease;
}

.rocket-service-card:hover .rsc-icon-wrapper {
  background: #D4AF37; 
}

.rsc-icon-wrapper svg {
  width: 42px;
  height: 42px;
  fill: #D4AF37;
  transition: fill 0.3s ease;
}

.rocket-service-card:hover .rsc-icon-wrapper svg {
  fill: #1A1A1A; 
}

/* --- Card Content --- */
.rsc-content {
  padding: 1rem 1.5rem 1.5rem 1.5rem; 
  display: flex;
  flex-direction: column;
  flex-grow: 1; 
}

.rsc-content h4 {
  color: #1A1A1A;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.3;
}

/* --- Aesthetically Appealing Bullet List --- */
.rsc-deliverables {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
  flex-grow: 1; 
}

.rsc-deliverables li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  color: #555555;
  font-size: 0.9rem;
  line-height: 1.45;
}

/* Custom Golden Checkmark for List Items */
.rsc-deliverables li::before {
  content: '✓'; 
  position: absolute;
  left: 0;
  top: -1px;
  color: #D4AF37;
  font-weight: 900;
  font-size: 1rem;
}

.rsc-deliverables li strong {
  color: #1A1A1A;
}

/* --- Action Link --- */
.rsc-link {
  display: inline-flex;
  align-items: center;
  color: #D4AF37;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
  margin-top: auto;
}

.rsc-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  margin-left: 5px;
  transition: transform 0.2s ease;
}

.rsc-link:hover {
  color: #1A1A1A;
}

.rsc-link:hover svg {
  transform: translateX(5px); 
}

/* --- Mobile Adjustments --- */
@media (max-width: 767px) {
  .rocket-section-title {
    font-size: 2rem;
  }
  .rsc-image-wrapper {
    height: 250px; /* Scaled proportionally for mobile screens */
  }
}