:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #000080; /* Navy Blue */
  --text-on-dark: #ffffff;
  --text-on-light: #333333;
  --light-bg-color: #f8f9fa;
  --dark-bg-color: #0d0d0d; /* Assuming shared.css var(--dark-bg-1) is a dark color */
}

.page-index-core-services {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-on-dark); /* Default text color for the main content on a dark body background */
  background: transparent; /* Main content background is transparent to show body background from shared.css */
  padding-top: 120px; /* Desktop: Ensure content is not hidden by fixed header */
}

.page-index-core-services .highlight-text {
  color: var(--primary-color);
  font-weight: bold;
}

.page-index-core-services__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

/* --- Video Section --- */
.page-index-core-services__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Desktop: Adjust for fixed header, as it's the first element */
  background: var(--dark-bg-color); /* Explicitly set background for this section */
  color: var(--text-on-dark);
}

.page-index-core-services__video-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-index-core-services__video-link {
  display: block;
  text-decoration: none;
  position: relative;
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-core-services__video-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3); /* Goldish shadow on hover */
}

.page-index-core-services__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.page-index-core-services__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
  object-fit: cover;
  pointer-events: none; /* Prevents video controls from blocking click event on parent <a> */
}

.page-index-core-services__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.page-index-core-services__video-link:hover .page-index-core-services__video-overlay {
  opacity: 1;
}

.page-index-core-services__video-click-hint {
  color: #ffffff;
  font-size: 20px;
  font-weight: bold;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
  padding: 12px 25px;
  background: rgba(255, 215, 0, 0.8); /* Goldish background */
  border-radius: 30px;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.page-index-core-services__video-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 35px;
}

.page-index-core-services__play-now-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--primary-color);
  color: var(--secondary-color); /* Navy blue text on gold button for contrast */
  text-decoration: none;
  border-radius: 50px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
  border: none;
  cursor: pointer;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.page-index-core-services__play-now-button:hover {
  background: #e6c200; /* Slightly darker gold */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

.page-index-core-services__play-now-button:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(255, 215, 0, 0.3);
}

/* --- Module 1: H1 Title + CTA Buttons --- */
.page-index-core-services__title-section {
  text-align: center;
  padding: 80px 20px;
  background: var(--dark-bg-color);
  color: var(--text-on-dark);
}

.page-index-core-services__title-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-index-core-services__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff; /* Explicitly white for H1 */
}

.page-index-core-services__title-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.page-index-core-services__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}