body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: #f8f9fa;
}

.work_description {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 2rem);
  
  /* Remove the problematic transform scaling */
  font-size: clamp(0.8rem, 1.5vw, 1rem);
}

.hero_section {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  background: white;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer; /* Makes it look clickable */
  transition: all 0.3s ease; /* Add smooth transition */
}

.hero_section:hover {
  transform: translateY(-3px); /* Subtle lift on hover */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* Enhanced shadow */
  background: #f8f9fa; /* Slight background change */
}

/* Ensure all elements inside show pointer cursor */
.hero_section * {
  cursor: pointer;
}

.title_wd {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: clamp(2rem, 6vw, 4.25rem);
  color: #2c3e50;
  margin-bottom: 1rem;
}

.sub_title_wd {
  margin: 0 auto;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: lighter;
  font-size: clamp(0.9rem, 2.5vw, 1.15rem);
  color: #7f8c8d;
  max-width: 800px;
  line-height: 1.5;
}

.services_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: stretch; /* Changed from 'start' to 'stretch' */
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.services_column {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.5rem);
  height: 100%; /* Ensure columns take full height */
}

.service_card {
  background: white;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  flex: 1; /* This makes all cards equal height */
  display: flex;
  flex-direction: column;
  min-height: 0; /* Allow cards to shrink if needed */
}

.service_card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service_icon {
  font-size: 2.5em;
  margin-bottom: 1rem;
  flex-shrink: 0; /* Prevents icon from shrinking */
}

.service_card h3 {
  font-size: 1.4em;
  color: #2c3e50;
  margin-bottom: 1rem;
  font-weight: bold;
  flex-shrink: 0; /* Prevents title from shrinking */
}

.service_card p {
  color: #34495e;
  font-size: clamp(0.85rem, 1.8vw, 1rem); /* More responsive scaling */
  line-height: 1.5;
  margin: 0;
  flex-grow: 1; /* Allows text to fill remaining space */
  display: flex;
  align-items: center; /* Centers text vertically in remaining space */
  justify-content: center; /* Added to center text horizontally */
  text-align: center; /* Keep text centered */
  padding: 0 0.5rem; /* Add some padding to prevent edge touching */
}

.final_message_card {
  background: white;
  padding: clamp(0.5rem, 2vw, 2.5rem); /* Much more aggressive padding scaling */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 95%; /* Simpler max-width */
  margin: 0 auto;
  transition: all 0.3s ease;
  word-wrap: break-word;
  overflow-wrap: break-word;
  box-sizing: border-box;
  cursor: pointer; /* This makes the cursor a hand/pointer */
}

.final_message_card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  background: #f8f9fa;
  cursor: pointer; /* Ensure pointer cursor on hover too */
}

/* Make sure all elements inside the card also show pointer cursor */
.final_message_card * {
  cursor: pointer;
}

.message_icon {
  font-size: clamp(1.5rem, 3vw, 2.5rem); /* More aggressive icon scaling */
  margin-bottom: 0.5rem;
}

.final_message_card h3 {
  font-size: clamp(1rem, 2.5vw, 1.5rem); /* More aggressive title scaling */
  color: #2c3e50;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.final_message_card p {
  color: #34495e;
  font-size: clamp(0.6rem, 1.5vw, 1.1rem); /* Much more aggressive font scaling */
  line-height: clamp(1.2, 1.5, 1.5); /* Responsive line height */
  margin: 0;
  width: 100%;
  box-sizing: border-box;
  hyphens: auto;
  word-break: break-word;
  overflow-wrap: anywhere; /* More aggressive word breaking */
}

/* Enhanced responsive design */
@media (max-width: 900px) {
  .services_grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .service_card p {
    font-size: clamp(0.8rem, 2.5vw, 1rem);
    padding: 0 1rem; /* More padding on smaller screens */
  }
}

@media (max-width: 768px) {
  .work_description {
    padding: 0.5rem; /* Reduced padding */
  }
  
  .hero_section {
    padding: 1.5rem;
  }
  
  .final_message_card {
    max-width: 95%;
    padding: clamp(0.75rem, 2.5vw, 1.5rem);
    width: calc(100% - 1rem);
  }
  
  .final_message_card p {
    font-size: clamp(0.7rem, 2.2vw, 0.9rem);
    line-height: 1.4;
  }
}

@media (max-width: 480px) {
  .work_description {
    padding: 0.25rem; /* Even more reduced padding */
  }
  
  .final_message_card {
    max-width: 98%;
    padding: 0.75rem;
    width: calc(100% - 0.5rem);
  }
  
  .final_message_card p {
    font-size: clamp(0.65rem, 2.8vw, 0.8rem);
    line-height: 1.3;
  }
  
  .service_card p {
    font-size: clamp(0.75rem, 3vw, 0.9rem);
    padding: 0 0.75rem;
  }
}

@media (max-width: 360px) {
  .final_message_card {
    padding: 0.5rem;
    width: calc(100% - 0.25rem);
  }
  
  .final_message_card p {
    font-size: 0.7rem;
  }
}

/* More specific responsive overrides */
@media (max-width: 500px) {
  .final_message_card {
    max-width: 98%;
    padding: clamp(0.25rem, 1.5vw, 1rem);
  }
}

