/* --- Hero Section --- */
.custom-hero-section {
  position: relative;
  height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 0 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #101ba5;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  min-width: 100%;
  min-height: 100%;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 1;
  object-fit: cover;
  filter: brightness(0.5);
}

.video-overlay-gradient {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(16,27,165,0.75), rgba(68,191,194,0.6));
  z-index: 2;
  pointer-events: none;
}

.pattern-overlay {
  position: absolute;
  top: 15%;
  left: 10%;
  width: 280px;
  height: 280px;
  background:
    radial-gradient(circle 50px at 50% 50%, rgba(68,191,194,0.25), transparent 80%),
    repeating-radial-gradient(circle, rgba(47,117,76,0.15) 0 5px, transparent 5px 10px);
  border-radius: 50%;
  mix-blend-mode: screen;
  animation: pulse 10s ease-in-out infinite alternate;
  z-index: 3;
  pointer-events: none;
}

@keyframes pulse {
  0% { transform: scale(1) translate(0,0); opacity: 0.7; }
  100% { transform: scale(1.1) translate(10px, 10px); opacity: 0.9; }
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 700px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
  margin-bottom: 1rem;
  letter-spacing: 0.12em;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(0,0,0,0.7);
}

.hero-content p {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  color: #d1e8e8;
  font-weight: 500;
  text-shadow: 0 0 8px rgba(0,0,0,0.5);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-white {
  background-color: white;
  color: #101ba5;
  font-weight: 700;
  text-transform: uppercase;
  padding: 14px 36px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 10px rgb(255 255 255 / 0.4);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-white:hover {
  background-color: #44bfc2;
  color: white;
}

.btn-blue {
  background-color: #101ba5;
  color: white;
  font-weight: 700;
  text-transform: uppercase;
  padding: 14px 36px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(16, 27, 165, 0.7);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-blue:hover {
  background-color: #2f754c;
  box-shadow: 0 6px 18px rgba(47, 117, 76, 0.9);
}

/* --- Specialized Talent Solutions Section --- */
.specialized-section {
  max-width: 900px;
  margin: 60px auto 100px;
  padding: 0 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #101ba5;
  text-align: center;
}

.specialized-section h2 {
  font-size: 2.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.25em;
}

.specialized-subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  color: #2f754c;
  margin-bottom: 2.5rem;
  font-style: italic;
}

.specialized-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.spec-card {
  background: linear-gradient(135deg, #44bfc2 0%, #2f754c 100%);
  color: white;
  border-radius: 16px;
  padding: 30px 25px;
  box-shadow: 0 6px 18px rgba(16, 27, 165, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.spec-card h3 {
  font-weight: 800;
  font-size: 1.3rem;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.spec-card p {
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.4;
  color: #d1e8e8;
}

/* Hover effect for cards */
.spec-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(16, 27, 165, 0.45);
}

/* Accent color variation for each industry card */
.spec-card.finance {
  background: linear-gradient(135deg, #44bfc2 0%, #2f754c 80%);
}

.spec-card.healthcare {
  background: linear-gradient(135deg, #2f754c 0%, #44bfc2 80%);
}

.spec-card.technology {
  background: linear-gradient(135deg, #101ba5 0%, #44bfc2 90%);
}

.spec-card.aerospace {
  background: linear-gradient(135deg, #2f754c 0%, #101ba5 80%);
}