/* Container for layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* about.html*/
/*slide pictures in about*/
.about-hero {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--white);
  margin-top: 140px;
}

/* Slideshow behind the text */
.slideshow-bg {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 0;
}

.slide {
  position: absolute;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Add the gradient overlay */
.about-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  z-index: 1;
}

/* Content sits above slideshow and overlay */
.about-hero-content {
  max-width: 800px;
  padding: 0 20px;
  z-index: 2;
}

.about-hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: "Lora", serif;
  text-transform: uppercase;
  animation: fadeInUp 1s ease-in-out;
}

.about-hero p {
  font-size: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
  animation: fadeInUp 1s ease-in-out 0.3s forwards;
  opacity: 0;
}


/* Welcome Section in about */
.welcome-section {
  padding: 80px 0;
  background-color: var(--white);
}

.welcome-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.welcome-text {
  flex: 1;
  min-width: 300px;
}

/* h2 welcome to...*/
.welcome-text h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  text-align: center;
}

.welcome-text h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%; /* make it center */
  transform: translateX(-50%); /* true center */
  width: 80px;
  height: 3px;
  background: var(--secondary); /* gold line*/
  border-radius: 3px;
}

.welcome-text p {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.6;
  text-align: center;
}

.welcome-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: transparent;
  color: var(--primary);
  text-decoration: none;
  border: 2px solid var(--primary);
  border-radius: 5px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.welcome-video {
  flex: 1;
  min-width: 300px;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: var(--shadow-strong);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Section Header (used in multiple sections) */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
  font-family: "Lora", serif;
  position: relative;
  display: inline-block;
}

.section-header h2:after {
  content: '';
  position: absolute;
  width: 80px;
  height: 3px;
  background: var(--secondary);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.section-header p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* mission & vision section in about.html */
.mission-section {
  padding: 80px 0;
  width: 100%;
  background-color: #f9f9f9;
}

.mission-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.mission-card {
  flex: 1;
  min-width: 300px;
  max-width: 350px;
  background: var(--white);
  padding: 40px 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.mission-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-strong);
}

.mission-icon {
  width: 80px;
  height: 80px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 25px;
}

.mission-card h3 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 20px;
  font-family: "Lora", serif;
}

.mission-card p {
  font-size: 1.1rem;
  color: var(--text-dark);
  line-height: 1.6;
}

/* History Section */
.history-section {
  padding: 80px 0;
  background-color: var(--white);
}

.history-content {
  max-width: 900px;
  margin: 0 auto;
}

.history-timeline {
  position: relative;
  padding: 20px 0;
}

.history-timeline:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 35%;
  width: 4px;
  background: var(--primary);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.timeline-dot {
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--secondary);
  border-radius: 50%;
  left: 35%;
  top: 15px;
  transform: translateX(-50%);
  z-index: 2;
}

.timeline-date {
  width: 120px;
  text-align: right;
  padding-right: 30px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
}

.timeline-content {
  width: calc(50% - 60px);
  padding-left: 30px;
  position: relative;
}

.timeline-content h3 {
  font-size: 1.4rem;
  color: var(--secondary);
  margin-bottom: 10px;
}

.timeline-content p {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.6;
}






/* Values Section */
.values-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.values-content {
  max-width: 1200px;
  margin: 0 auto;
}

.values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.value-card {
  flex: 1;
  min-width: 300px;
  max-width: 350px;
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-strong);
}

.value-icon {
  width: 70px;
  height: 70px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 20px;
}

.value-card h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 15px;
  font-family: "Lora", serif;
}

.value-card p {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.6;
}

/* Leadership Section */
.leadership-section {
  padding: 80px 0;
  background-color: var(--white);
}

.leadership-content {
  max-width: 1200px;
  margin: 0 auto;
}

.leadership-featured {
  margin-bottom: 60px;
}

.leader-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.leader-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}

.leader-card.featured {
  display: flex;
  flex-wrap: wrap;
}

.leader-image {
  flex: 1;
  min-width: 300px;
  height: 350px;
  overflow: hidden;
}

.leader-card.featured .leader-image {
  height: auto;
}

.leader-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.leader-card:hover .leader-image img {
  transform: scale(1.05);
}

.leader-info {
  flex: 1.5;
  min-width: 300px;
  padding: 30px;
}

.leader-card.featured .leader-info {
  padding: 40px;
}

.leader-info h3, .leader-info h4 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 5px;
  font-family: "Lora", serif;
}

.leader-info h4 {
  font-size: 1.4rem;
}

.leader-title {
  font-size: 1.2rem;
  color: var(--secondary);
  margin-bottom: 20px;
  font-weight: 500;
}

.leader-bio {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 20px;
}

.leader-contact {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.leader-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  background: var(--primary-light);
  color: var(--primary);
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: var(--transition);
}

.leader-contact a:hover {
  background: var(--primary);
  color: var(--white);
}

.leadership-category {
  font-size: 1.8rem;
  color: var(--primary);
  margin: 40px 0 25px;
  text-align: center;
  font-family: "Lora", serif;
}

.leadership-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-bottom: 30px;
}

.leadership-grid .leader-card {
  flex: 1;
  min-width: 250px;
  max-width: 280px;
}


/* Beliefs Section */
.beliefs-section {
  padding: 80px 0;
  background-color: #f9f9f9;
  width: 100%;
}

.beliefs-content {
  max-width: 900px;
  margin: 0 auto;
}

.beliefs-intro {
  text-align: center;
  margin-bottom: 40px;
}

.beliefs-intro p {
  font-size: 1.2rem;
  color: var(--text-dark);
  line-height: 1.8;
}

.beliefs-accordion {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.belief-item {
  border-bottom: 1px solid #eee;
}

.belief-item:last-child {
  border-bottom: none;
}

.belief-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  cursor: pointer;
  transition: var(--transition);
}

.belief-header:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

.belief-header h3 {
  font-size: 1.3rem;
  color: var(--primary);
  font-weight: 600;
}

.belief-header i {
  font-size: 1.2rem;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.belief-item.active .belief-header i {
  transform: rotate(45deg);
}

.belief-content {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.belief-item.active .belief-content {
  max-height: 500px;
  padding-bottom: 20px;
}

.belief-content p {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 15px;
}

.belief-verse {
  font-style: italic;
  color: var(--secondary);
  padding-left: 15px;
  border-left: 3px solid var(--secondary);
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background-color: var(--white);
}

.faq-content {
  max-width: 900px;
  margin: 0 auto;
}

.faq-accordion {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-item {
  border-bottom: 1px solid #eee;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

.faq-question h3 {
  font-size: 1.2rem;
  color: var(--primary);
  font-weight: 600;
}

.faq-question i {
  font-size: 1.2rem;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 20px;
}

.faq-answer p {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.6;
}

/* ===============================================
   RESPONSIVE DESIGN FOR ABOUT PAGE
   =============================================== */

/* Tablet Landscape */
@media (max-width: 1200px) {
  .about-hero {
    height: 50vh;
    margin-top: 120px;
  }
  
  .about-hero-content h1 {
    font-size: 3rem;
  }
  
  .timeline-date {
    width: 100px;
    font-size: 1.2rem;
  }
  
  .timeline-content {
    width: calc(55% - 50px);
  }
}

/* Tablet Portrait */
@media (max-width: 768px) {
  .about-hero {
    height: 40vh;
    margin-top: 100px;
  }
  
  .about-hero-content h1 {
    font-size: 2.5rem;
  }
  
  .about-hero-content p {
    font-size: 1.1rem;
  }
  
  /* Welcome Section */
  .welcome-content {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }
  
  .welcome-text h2 {
    font-size: 2rem;
  }
  
  /* Mission Section */
  .mission-section,
  .values-section,
  .leadership-section,
  .beliefs-section,
  .faq-section {
    padding: 60px 0;
  }
  
  .mission-content,
  .values-grid,
  .leadership-grid {
    gap: 20px;
  }
  
  .mission-card,
  .value-card {
    min-width: 280px;
    padding: 30px 25px;
  }
  
  /* Timeline */
  .history-timeline:before {
    left: 30px;
  }
  
  .timeline-item {
    flex-direction: column;
    margin-left: 60px;
  }
  
  .timeline-dot {
    left: 30px;
    top: 0;
  }
  
  .timeline-date {
    width: auto;
    text-align: left;
    padding-right: 0;
    margin-bottom: 10px;
    font-size: 1.1rem;
  }
  
  .timeline-content {
    width: 100%;
    padding-left: 0;
  }
  
  /* Leadership */
  .leader-card.featured {
    flex-direction: column;
  }
  
  .leader-image {
    height: 300px;
  }
  
  .leader-info {
    padding: 25px;
  }
  
  .leader-contact {
    flex-direction: column;
    gap: 10px;
  }
  
  .leadership-grid .leader-card {
    min-width: 200px;
    max-width: 300px;
  }
  
  /* Accordion */
  .belief-header,
  .faq-question {
    padding: 15px 20px;
  }
  
  .belief-header h3,
  .faq-question h3 {
    font-size: 1.1rem;
  }
  
  .belief-content,
  .faq-answer {
    padding: 0 20px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .about-hero {
    height: 35vh;
    margin-top: 80px;
  }
  
  .about-hero-content h1 {
    font-size: 2rem;
  }
  
  .about-hero-content p {
    font-size: 1rem;
  }
  
  /* Section Headers */
  .section-header h2 {
    font-size: 2rem;
  }
  
  .section-header p {
    font-size: 1rem;
  }
  
  /* Cards */
  .mission-card,
  .value-card {
    min-width: 100%;
    padding: 25px 20px;
  }
  
  .mission-icon,
  .value-icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }
  
  .mission-card h3,
  .value-card h3 {
    font-size: 1.5rem;
  }
  
  /* Timeline */
  .timeline-item {
    margin-left: 50px;
  }
  
  .timeline-dot {
    left: 20px;
  }
  
  .timeline-date {
    font-size: 1rem;
  }
  
  .timeline-content h3 {
    font-size: 1.2rem;
  }
  
  /* Leadership */
  .leader-info h3,
  .leader-info h4 {
    font-size: 1.5rem;
  }
  
  .leader-title {
    font-size: 1rem;
  }
  
  .leadership-grid .leader-card {
    min-width: 100%;
  }
  
  /* Accordion */
  .belief-header,
  .faq-question {
    padding: 12px 15px;
  }
  
  .belief-header h3,
  .faq-question h3 {
    font-size: 1rem;
  }
  
  .belief-content,
  .faq-answer {
    padding: 0 15px;
  }
  
  .belief-content p,
  .faq-answer p {
    font-size: 0.9rem;
  }
}