/* style/about.css */
:root {
  --primary-color: #0056B3; /* Deep Blue */
  --secondary-color: #FFD700; /* Gold */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f4f7f6;
  --background-dark: #004080;
  --border-color: #e0e0e0;
  --card-background: #ffffff;
}

.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-light);
}

.page-about-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--background-dark) 100%);
  padding: 80px 20px;
  text-align: center;
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.page-about-hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-about-hero h1 {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-about-hero p {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

.page-about-hero-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  margin-top: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: cover;
}

.page-about-cta-button {
  display: inline-block;
  padding: 15px 35px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  margin: 10px;
}

.page-about-cta-button:hover {
  background: #e6c200; /* Slightly darker gold */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-about-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  background-color: var(--card-background);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 40px;
}

.page-about-section:first-of-type {
    margin-top: -80px; /* Pull up to overlap hero for visual flow */
}

.page-about-section h2 {
  font-size: 2.2em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-about-section h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.page-about-section h3 {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-about-content-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-top: 30px;
}

.page-about-content-wrapper.reverse-layout {
  flex-direction: row-reverse;
}

.page-about-text-content {
  flex: 2;
}

.page-about-text-content p {
  margin-bottom: 15px;
  font-size: 1.05em;
  line-height: 1.7;
}

.page-about-text-content ul {
  list-style: disc;
  margin-left: 25px;
  margin-top: 20px;
}

.page-about-text-content ul li {
  margin-bottom: 10px;
  font-size: 1.05em;
  line-height: 1.6;
}

.page-about-text-content ul li strong {
  color: var(--primary-color);
}

.page-about-image-right, .page-about-image-left {
  flex: 1;
  max-width: 45%;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  height: auto;
  display: block;
}

.page-about-image-right {
  order: 2;
}

.page-about-image-left {
  order: 1;
}

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

.page-about-card {
  background: var(--card-background);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-about-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}

.page-about-card h3 {
  font-size: 1.4em;
  margin: 20px 20px 10px 20px;
  color: var(--primary-color);
}

.page-about-card-title-link {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-about-card-title-link:hover {
  color: var(--secondary-color);
}