/* style/about.css */

/* Variables */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f5f5f5;
  --bg-dark: #222222;
  --border-color: #e0e0e0;
}

/* General Page Styling */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #ffffff;
}

.page-about .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-about section {
  padding: 60px 0;
  border-bottom: 1px solid var(--border-color);
}

.page-about section:last-of-type {
  border-bottom: none;
}

.page-about .section-title {
  font-size: 2.5em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  position: relative;
  padding-bottom: 15px;
}

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

/* Hero Section */
.page-about .hero-section {
  position: relative;
  width: 100%;
  height: 500px; /* Or min-height based on content */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: var(--secondary-color); /* Fallback */
}

.page-about .hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.page-about .hero-background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7); /* Darken image for text readability */
}

.page-about .hero-content-overlay {
  position: relative;
  z-index: 2;
  color: var(--text-light);
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.3); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-about .hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about .hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

.page-about .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--text-dark); /* Dark text on gold button for contrast */
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

/* Introduction Section */
.page-about .introduction-section {
  background-color: var(--bg-light);
}

.page-about .content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-about .content-grid .text-content {
  flex: 2;
  font-size: 1.1em;
}

.page-about .content-grid .text-content p {
  margin-bottom: 15px;
}

.page-about .content-grid .image-content {
  flex: 1;
  text-align: center;
}

.page-about .content-grid .content-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

/* Mission & Vision Section */
.page-about .mission-vision-section {
  background-color: #ffffff;
}

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

.page-about .card {
  background-color: #fcfcfc;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-about .card-title {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-about .card p {
  margin-bottom: 10px;
  font-size: 1em;
}

/* Core Values Section */
.page-about .core-values-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-about .core-values-section .section-title {
  color: var(--primary-color);
}

.page-about .core-values-section .section-title::after {
  background-color: var(--text-light);
}

.page-about .values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-about .value-item {
  background-color: #333333;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-about .value-item:hover {
  transform: translateY(-8px);
  background-color: var(--secondary-color);
}

.page-about .value-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px auto;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
  object-fit: contain; /* Ensure icons are scaled correctly */
}

.page-about .value-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about .value-item p {
  font-size: 0.95em;
  color: rgba(255, 255, 255, 0.9);
}

/* Why Choose Us Section */
.page-about .why-choose-us-section {
  background-color: var(--bg-light);
}

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

.page-about .benefit-item {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-about .benefit-title {
  font-size: 1.6em;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about .benefit-item p {
  font-size: 1em;
}

/* Call to Action Section */
.page-about .call-to-action-section {
  background: linear-gradient(45deg, var(--secondary-color), #a02020);
  color: var(--text-light);
  text-align: center;
  padding: 80px 20px;
}

.page-about .call-to-action-section .section-title {
  color: var(--primary-color);
}

.page-about .call-to-action-section .section-title::after {
  background-color: var(--text-light);
}

.page-about .call-to-action-section p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--text-light);
}

.page-about .cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-about .cta-button.primary {
  background: var(--primary-color);
  color: var(--text-dark);
}

.page-about .cta-button.primary:hover {
  background: #e6c200;
}

.page-about .cta-button.secondary {
  background: #ffffff;
  color: var(--secondary-color);
}

.page-about .cta-button.secondary:hover {
  background: #eeeeee;
}

/* Copyright Section */
.page-about .copyright-section {
  background-color: var(--bg-dark);
  color: #aaaaaa;
  text-align: center;
  padding: 30px 20px;
  font-size: 0.9em;
  border-top: 1px solid #444444;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about .hero-section {
    height: 450px;
  }
  .page-about .hero-title {
    font-size: 2.8em;
  }
  .page-about .hero-description {
    font-size: 1.1em;
  }
  .page-about .section-title {
    font-size: 2em;
  }
  .page-about .content-grid {
    flex-direction: column;
  }
  .page-about .content-grid .image-content {
    order: -1; /* Image above text on smaller screens */
    margin-bottom: 30px;
  }
  .page-about .grid-2-cols,
  .page-about .values-grid,
  .page-about .benefits-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-about section {
    padding: 40px 0;
  }
  .page-about .hero-section {
    padding: 80px 15px;
    height: 400px;
  }
  .page-about .hero-title {
    font-size: 2.2em;
  }
  .page-about .hero-description {
    font-size: 1em;
  }
  .page-about .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-about .section-title {
    font-size: 1.8em;
  }
  .page-about .card,
  .page-about .value-item,
  .page-about .benefit-item {
    padding: 20px;
  }
  .page-about .card-title,
  .page-about .value-title,
  .page-about .benefit-title {
    font-size: 1.4em;
  }
  .page-about .cta-buttons {
    flex-direction: column;
  }
  .page-about .cta-buttons .cta-button {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .page-about .hero-section {
    height: 350px;
  }
  .page-about .hero-title {
    font-size: 1.8em;
  }
  .page-about .section-title {
    font-size: 1.6em;
  }
  .page-about .value-icon {
    width: 60px;
    height: 60px;
  }
}