/* style/about.css */

/* Custom properties for colors */
:root {
  --primary-color: #007bff; /* Deep blue */
  --secondary-color: #ffc107; /* Vibrant gold */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f4f7f6;
  --background-dark: #2c3e50; /* Darker blue/grey for contrast */
  --border-color: #e0e0e0;
}

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

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

.page-about .section-title {
  font-size: 2.5em;
  color: var(--primary-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(--secondary-color);
  border-radius: 2px;
}

.page-about .subsection-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-about p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-about ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-about ul li {
  margin-bottom: 8px;
  font-size: 1.05em;
}

/* Hero Section */
.page-about .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%); /* Darker blue gradient */
  color: var(--text-light);
  overflow: hidden;
}

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

.page-about .hero-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  margin-bottom: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-about .hero-content {
  text-align: center;
  width: 100%;
}

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

.page-about .hero-content p {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-about .cta-button:hover {
  background: #ffdb58;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-about .cta-button.secondary-button {
  background: var(--primary-color);
  color: var(--text-light);
  border: 1px solid var(--text-light);
}

.page-about .cta-button.secondary-button:hover {
  background: #0056b3;
  border-color: var(--secondary-color);
}

.page-about .cta-button.large-button {
  padding: 20px 60px;
  font-size: 1.5em;
  border-radius: 10px;
}

/* Section Intro */
.page-about .section-intro {
  padding: 60px 0;
  background-color: var(--background-light);
  text-align: center;
}

.page-about .section-intro p strong {
  color: var(--primary-color);
}

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

.page-about .section-mission-vision .content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-about .section-mission-vision .text-content {
  flex: 1;
}

.page-about .section-mission-vision .image-content {
  flex: 1;
  text-align: center;
}

.page-about .section-mission-vision .content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

/* Core Values Section */
.page-about .section-core-values {
  padding: 80px 0;
  background-color: var(--background-dark);
  color: var(--text-light);
  text-align: center;
}

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

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

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

.page-about .section-core-values .value-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-about .section-core-values .value-item:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

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

.page-about .section-core-values .value-item p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1em;
}

/* Security & Support Section */
.page-about .section-security-support {
  padding: 80px 0;
  background-color: var(--background-light);
}

.page-about .section-security-support .content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-about .section-security-support .content-wrapper.reverse-order {
  flex-direction: row-reverse;
}

.page-about .section-security-support .text-content {
  flex: 1;
}

.page-about .section-security-support .image-content {
  flex: 1;
  text-align: center;
}

.page-about .section-security-support .content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-about .section-security-support ul {
  list-style: none;
  padding: 0;
  margin-left: 0;
}

.page-about .section-security-support ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-about .section-security-support ul li::before {
  content: '✓';
  color: var(--primary-color);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2em;
}


/* Why Choose Section */
.page-about .section-why-choose {
  padding: 80px 0;
  background-color: #ffffff;
  text-align: center;
}

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

.page-about .section-why-choose .feature-item {
  background-color: var(--background-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 5px solid var(--primary-color);
}

.page-about .section-why-choose .feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-about .section-why-choose .feature-title {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about .section-why-choose .feature-item p {
  font-size: 1em;
  color: var(--text-dark);
}

/* Call to Action Section */
.page-about .section-cta {
  padding: 60px 0;
  background: linear-gradient(90deg, var(--primary-color), #0056b3);
  color: var(--text-light);
  text-align: center;
}

.page-about .section-cta .section-title {
  color: var(--text-light);
}

.page-about .section-cta .section-title::after {
  background-color: var(--secondary-color);
}

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

/* Fade-in animation for sections */
.page-about .fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.page-about .fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about .hero-content h1 {
    font-size: 2.8em;
  }
  .page-about .hero-content p {
    font-size: 1.1em;
  }
  .page-about .section-title {
    font-size: 2em;
  }
  .page-about .subsection-title {
    font-size: 1.6em;
  }
  .page-about .section-mission-vision .content-wrapper,
  .page-about .section-security-support .content-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .page-about .section-security-support .content-wrapper.reverse-order {
    flex-direction: column;
  }
  .page-about .section-mission-vision .image-content,
  .page-about .section-security-support .image-content {
    margin-top: 30px;
  }
  .page-about .values-grid,
  .page-about .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-about .hero-section {
    padding: 40px 15px;
  }
  .page-about .hero-content h1 {
    font-size: 2.2em;
  }
  .page-about .hero-content p {
    font-size: 1em;
  }
  .page-about .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-about .cta-button.large-button {
    padding: 15px 40px;
    font-size: 1.2em;
  }
  .page-about .section-title {
    font-size: 1.8em;
  }
  .page-about .subsection-title {
    font-size: 1.4em;
  }
  .page-about p {
    font-size: 0.95em;
  }
  .page-about .section-intro,
  .page-about .section-mission-vision,
  .page-about .section-core-values,
  .page-about .section-security-support,
  .page-about .section-why-choose,
  .page-about .section-cta {
    padding: 40px 0;
  }
  .page-about .values-grid,
  .page-about .features-grid {
    grid-template-columns: 1fr;
  }
  .page-about .section-security-support ul li {
    padding-left: 25px;
  }
  .page-about .section-security-support ul li::before {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-about .hero-content h1 {
    font-size: 1.8em;
  }
  .page-about .section-title {
    font-size: 1.5em;
  }
  .page-about .cta-button.large-button {
    font-size: 1.1em;
    padding: 12px 30px;
  }
}