:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --login-color: #EA7C07;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #ffffff;
  --bg-dark: #26A9E0; /* Using primary color as dark bg for sections */
  --border-color: #e0e0e0;
}

/* Base styles for the page content */
.page-index {
  font-family: Arial, sans-serif;
  color: var(--text-dark); /* Default text color for light body background */
  background-color: var(--bg-light); /* Assuming body background is light */
}

/* Fixed Header Spacing */
.page-index__hero-section {
  padding-top: var(--header-offset, 120px); /* Desktop default */
}

/* HERO Section */
.page-index__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px; /* Add some padding below for content */
  background: linear-gradient(135deg, var(--primary-color) 0%, #26A9E0CC 100%); /* Adjusted gradient with transparency */
  overflow: hidden; /* Ensure image doesn't overflow */
}

.page-index__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 20px; /* Horizontal padding for container */
}

.page-index__hero-image {
  width: 100%;
  margin-bottom: 30px;
  max-width: 100%;
  box-sizing: border-box;
}

.page-index__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-index__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  color: var(--text-light); /* White text for dark hero background */
}

.page-index__hero-title {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: var(--text-light);
}

.page-index__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

.page-index__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--login-color); /* Using login color for primary CTA */
  color: var(--text-light);
  text-decoration: none;
  border-radius: 50px; /* More rounded button */
  font-size: 20px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-index__cta-button:hover {
  background: #ff8c00; /* Slightly darker orange on hover */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styles */
.page-index__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-index__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 60px;
  color: var(--primary-color);
}

/* Module 1: Homepage Introduction */
.page-index__intro-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.page-index__intro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-index__intro-item {
  background: var(--secondary-color);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-index__intro-item:hover {
  transform: translateY(-5px);
}

.page-index__intro-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index__intro-subtitle {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-index__intro-item p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
}

/* Module 2: Quick Access Links */
.page-index__quick-access-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.page-index__quick-access-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-index__quick-access-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--secondary-color);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-decoration: none;
  color: var(--text-dark);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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