/* style/about.css */

/* Base styles for the About Us page */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F3F8FF; /* Text Main */
  background-color: #08162B; /* Deep Navy - body background */
}

/* Ensure the main content area has appropriate padding-top */
.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 1920px; /* Max width for hero image */
  margin-bottom: 30px;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-about__hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-about__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  /* clamp for responsive font size without fixed large values */
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-about__intro-text {
  font-size: 1.15rem;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 30px;
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF; /* Text Main */
  border: 2px solid transparent;
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  box-shadow: 0 0 15px rgba(79, 168, 255, 0.6); /* Glow */
}

.page-about__btn-secondary {
  background: #10233F; /* Card BG */
  color: #F2C14E; /* Gold */
  border: 2px solid #244D84; /* Border */
}

.page-about__btn-secondary:hover {
  background: #1B3357; /* Divider */
  color: #F3F8FF; /* Text Main */
  border-color: #4FA8FF; /* Glow */
}

/* Content Area General Styles */
.page-about__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  box-sizing: border-box;
}

.page-about__section-header {
  text-align: center;
  margin-bottom: 50px;
}

.page-about__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 15px;
}

.page-about__section-title--light {
  color: #F3F8FF;
}

.page-about__section-description {
  font-size: 1.1rem;
  color: #AFC4E8; /* Text Secondary */
  max-width: 800px;
  margin: 0 auto;
}

.page-about__section-description--light {
  color: #AFC4E8;
}

/* Mission and Vision Section */
.page-about__mission-vision-section {
  background-color: #08162B;
}

.page-about__grid-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.page-about__grid-item {
  flex: 1;
  min-width: 300px;
}

.page-about__image-content {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-about__text-block h3 {
  font-size: 1.6rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about__text-block p {
  font-size: 1rem;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 20px;
}

.page-about__text-block ul {
  list-style: none;
  padding: 0;
}

.page-about__text-block ul li {
  font-size: 1rem;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-about__text-block ul li::before {
  content: '✔';
  color: #4FA8FF; /* Glow */
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

/* Commitment Section */
.page-about__dark-section {
  background-color: #113B7A;
  color: #F3F8FF;
}

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

.page-about__commitment-card {
  background-color: #10233F; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #244D84; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__commitment-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-about__card-icon {
  width: 100%; /* Ensure card images are responsive */
  max-width: 120px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-about__commitment-card h3 {
  font-size: 1.4rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about__commitment-card p {
  font-size: 0.95rem;
  color: #AFC4E8; /* Text Secondary */
}

/* CTA Bottom Section */
.page-about__cta-bottom-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-about__cta-card {
  background-color: #10233F; /* Card BG */
  padding: 50px;
  border-radius: 15px;
  text-align: center;
  border: 1px solid #244D84; /* Border */
}

.page-about__cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
}

.page-about__cta-description {
  font-size: 1.1rem;
  color: #AFC4E8; /* Text Secondary */
  max-width: 700px;
  margin: 0 auto 30px auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__grid-container {
    flex-direction: column;
  }
  .page-about__grid-item {
    min-width: unset;
    width: 100%;
  }
  .page-about__grid-item:first-child {
    order: 2;
  }
  .page-about__grid-item:last-child {
    order: 1;
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-about__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-about__main-title {
    font-size: clamp(2rem, 6vw, 2.5rem);
  }

  .page-about__intro-text {
    font-size: 1rem;
  }

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__content-area {
    padding: 40px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-about__section-title {
    font-size: clamp(1.6rem, 5vw, 2rem);
  }

  .page-about__section-description {
    font-size: 0.95rem;
  }

  .page-about__text-block h3 {
    font-size: 1.4rem;
  }

  .page-about__text-block p,
  .page-about__text-block ul li {
    font-size: 0.9rem;
  }

  .page-about__commitment-card {
    padding: 25px;
  }

  .page-about__cta-card {
    padding: 30px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-about__cta-title {
    font-size: clamp(1.6rem, 5vw, 2rem);
  }

  .page-about__cta-description {
    font-size: 0.95rem;
  }

  /* Image responsive rules for mobile */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about__hero-image-wrapper,
  .page-about__grid-item,
  .page-about__commitment-card,
  .page-about__cta-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure no overflow */
  }
}