/* About Page Styles */

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

.mission-vision-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.card {
  flex: 1;
  min-width: 300px;
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.card-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 2rem;
}

.mission-card .card-icon {
  background: linear-gradient(135deg, #003366 0%, #006699 100%);
  color: #fff;
}

.vision-card .card-icon {
  background: linear-gradient(135deg, #006699 0%, #0099cc 100%);
  color: #fff;
}

.card h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #003366;
}

.card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

.values-container {
  margin-top: 60px;
  text-align: center;
}

.values-container h3 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #003366;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}

.value-item {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.value-item:hover {
  transform: translateY(-5px);
}

.value-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #003366 0%, #006699 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 1.5rem;
}

.value-item h4 {
  font-size: 1.2rem;
  color: #003366;
}

/* History Timeline Section */
.history-section {
  padding: 80px 0;
  background-color: #fff;
}

.timeline-container {
  margin-top: 50px;
  position: relative;
}

.timeline-controls {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.timeline-nav {
  background: #003366;
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;
}

.timeline-nav:hover {
  background: #006699;
}

.timeline-nav:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.timeline-progress {
  flex: 1;
  height: 4px;
  background: #e0e0e0;
  margin: 0 15px;
  position: relative;
  border-radius: 2px;
  overflow: hidden;
}

.timeline-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 12.5%; /* 1/8 for 8 items */
  background: #003366;
  transition: width 0.3s ease;
}

.timeline {
  position: relative;
  overflow: hidden;
}

.timeline-item {
  display: none;
  animation: fadeIn 0.5s ease;
}

.timeline-item.active {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-year {
  font-size: 2.5rem;
  font-weight: 700;
  color: #003366;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}

.timeline-year::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 4px;
  background: #006699;
}

.timeline-content {
  text-align: center;
  max-width: 800px;
}

.timeline-content h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #003366;
}

.timeline-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #555;
}

.timeline-content img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Leadership Section */
.leadership-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.leadership-tabs {
  margin-top: 40px;
}

.tab-buttons {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.tab-btn {
  padding: 12px 25px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  font-size: 1.1rem;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0 10px;
}

.tab-btn:hover {
  color: #003366;
}

.tab-btn.active {
  color: #003366;
  border-bottom-color: #003366;
}

.tab-content {
  position: relative;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-pane.active {
  display: block;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.leader-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.leader-card:hover {
  transform: translateY(-10px);
}

.leader-image {
  position: relative;
  overflow: hidden;
}

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

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


.leader-info {
  padding: 20px;
  text-align: center;
}

.leader-info h3 {
  font-size: 1.4rem;
  margin-bottom: 5px;
  color: #003366;
}

.leader-title {
  font-size: 1rem;
  color: #006699;
  margin-bottom: 15px;
  font-weight: 600;
}

.leader-bio {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #555;
}


/* Campus Section */
.custom-campus-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
    text-align: center;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

.custom-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: auto;
}

.custom-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.custom-underline {
    width: 80px;
    height: 4px;
    background: #003366;
    margin: 10px auto;
}

.custom-campus-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.custom-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-width: 350px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.custom-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.custom-image-container {
    position: relative;
}

.custom-campus-logo {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 60px;
    height: auto;
    background: rgba(255, 255, 255, 0.8);
    padding: 5px;
    border-radius: 5px;
}

.custom-campus-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.custom-card-content {
    padding: 20px;
    text-align: center;
}

.custom-card-content h3 {
    font-size: 1.5rem;
    color: #003366;
    margin-bottom: 10px;
}

.custom-card-content p {
    font-size: 1rem;
    color: #555;
}

.custom-view-more-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background: #003366;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s, transform 0.3s;
}

.custom-view-more-btn:hover {
    background: #001a33;
    transform: scale(1.05);
}
/* Testimonials Section */
.testimonials-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.testimonials-container {
  position: relative;
  max-width: 800px;
  margin: 40px auto 0;
}

.testimonial-card {
  display: none;
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  animation: fadeIn 0.5s ease;
}

.testimonial-card.active {
  display: block;
}

.testimonial-quote {
  position: absolute;
  top: -15px;
  left: 30px;
  font-size: 2.5rem;
  color: #003366;
  opacity: 0.2;
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  border: 3px solid #003366;
}

.author-info h4 {
  font-size: 1.2rem;
  color: #003366;
  margin-bottom: 5px;
}

.author-info p {
  font-size: 0.9rem;
  color: #666;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  margin: 0 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.dot.active {
  background: #003366;
}
