#archive-service-page,
#archive-industry-page,
#archive-location-page,
#archive-case-study-page {
  width: 100%;
  margin: 0;
  padding: 0;
}


h1 {
    word-wrap: break-word;
}

/* HERO SECTION */
.archive-hero {
  position: relative;
  width: 100%;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(180deg, #E5EEFF 0%, #F1F6FF 50%, rgba(255,255,255,0) 100%);
  animation: moveGradient 15s ease infinite;
  overflow: hidden;
}

@keyframes moveGradient {
  0%   { background-position: 0% 0%; }
  50%  { background-position: 100% 0%; }
  100% { background-position: 0% 0%; }
}

.archive-hero .hero-content {
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.archive-hero .hero-content h1 {
  font-size: 3rem;
  margin: 0;
  color: #1F2636;
}

.archive-hero .hero-content p {
  font-size: 18px;
  color: #4a5568;
  margin-top: 1rem;
}

/* CARDS CONTAINER */
.archive-cards-container {
  width: 100%;
  padding: 3rem 0;
  min-height: 100vh;
  background: #f9f9f9;
}

.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* CARD STYLING */
.service-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: "";
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, rgba(33,108,255,0.2) 0%, transparent 70%);
  transform: rotate(25deg);
  transition: opacity 0.3s ease;
  opacity: 0;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

.card-icon {
  margin-bottom: 15px;
  text-align: center;
}

.card-icon img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: invert(1);
}

.card-title {
  font-size: 20px;
  font-weight: bold;
  color: #2d3748;
  margin-bottom: 10px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 5px;
}

.card-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #216cff, #1f8fee);
}

.card-content {
  font-size: 16px;
  color: #4a5568;
  line-height: 1.5;
  margin-bottom: 15px;
}

.button-container {
  margin-top: auto; /* Push the button to the bottom */
  padding-top: 15px;
}

/* CONTENT INTRO SECTIONS (Industry extras) */
.content-intro-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 1.5rem;
  box-sizing: border-box;
  background: #f2f2f2;
  text-align: center;
}

.content-intro-section .content-container {
  max-width: 800px;
  margin: auto;
  width: 100%;
}

.content-intro-section .text-container {
  padding: 2em 1em;
}

.content-intro-section .text-container h2 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: #1F2636;
}

.content-intro-section .text-container p {
  font-size: 1.2rem;
  color: #4a5568;
  margin-bottom: 2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .archive-hero .hero-content h1 {
    font-size: 2.5rem;
  }
  .archive-hero .hero-content p {
    font-size: 16px;
  }
  .content-intro-section .text-container h2 {
    font-size: 2.2rem;
  }
  .content-intro-section .text-container p {
    font-size: 1rem;
  }
}