/* ===== ABOUT PAGE SPECIFIC STYLES ===== */

/* PAGE HEADER */
.page-header {
  background: linear-gradient(135deg, #801612 0%, #b82c25 100%);
  color: var(--white);
  text-align: center;
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header h1 {
  font-family: 'Merriweather', serif;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  position: relative;
  z-index: 1;
}

.breadcrumb a {
  color: rgba(255,255,255,0.9);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb span {
  margin: 0 8px;
}

/* SECTION TITLES */
.about-section-title {
  font-family: 'Merriweather', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.title-underline {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 24px;
}

.intro-text {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 32px;
}

/* COLLEGE OVERVIEW */
.college-overview {
  padding: 64px 0;
  background: var(--white);
}

.college-overview p {
  font-size: 14px;
  line-height: 1.9;
  color: #555;
  margin-bottom: 16px;
}

.welcome-quote {
  background: #f8f9fc;
  border-left: 4px solid var(--accent);
  padding: 24px;
  margin: 32px 0;
  font-style: italic;
  color: var(--primary);
  font-size: 14.5px;
  line-height: 1.8;
  border-radius: 4px;
}

/* VISION & MISSION SECTION */
.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

@media (max-width: 768px) {
  .vision-mission-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.vision-text {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-dark);
  line-height: 1.7;
  max-width: 900px;
}

/* MISSION SECTION */
.mission-section {
  padding: 64px 0;
  background: var(--white);
}

.mission-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-dark);
  line-height: 1.8;
  max-width: 900px;
}

/* CORE VALUES */
.core-values {
  padding: 64px 0;
  background: var(--light-bg);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.value-card {
  background: var(--white);
  padding: 24px;
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.value-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.value-card p {
  font-size: 13px;
  line-height: 1.7;
  color: #666;
}

/* VICE-PRINCIPAL'S MESSAGE */
.vice-principal-message {
  padding: 64px 0;
  background: var(--white);
  scroll-margin-top: 90px;
}

.message-author {
  font-size: 13px;
  font-style: italic;
  color: var(--muted);
  margin-bottom: 24px;
}

.message-content p {
  font-size: 14px;
  line-height: 1.9;
  color: #555;
  margin-bottom: 16px;
}

/* HISTORY SECTION */
.history-section {
  padding: 64px 0;
  background: var(--light-bg);
}

.history-section p {
  font-size: 14px;
  line-height: 1.9;
  color: #555;
  margin-bottom: 16px;
}

.history-section strong {
  color: var(--primary);
  font-weight: 700;
}

/* MANAGEMENT & GOVERNANCE */
.management-section {
  padding: 64px 0;
  background: var(--white);
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 32px;
}

.leader-card {
  background: linear-gradient(135deg, #801612 0%, #b82c25 100%);
  border-radius: 8px;
  padding: 40px;
  text-align: center;
  color: var(--white);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.leader-avatar {
  width: 100px;
  height: 100px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 40px;
  color: rgba(255,255,255,0.5);
}

.leader-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.leader-role {
  font-size: 12px;
  color: rgba(255,255,255,0.8);
}

/* INFRASTRUCTURE & FACILITIES */
.infrastructure-section {
  padding: 64px 0;
  background: var(--light-bg);
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.facility-card {
  background: var(--white);
  padding: 28px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.facility-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.facility-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
  color: var(--white);
}

.facility-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.facility-card p {
  font-size: 12.5px;
  line-height: 1.7;
  color: #666;
}

/* WHAT ASJC PROVIDES */
.provides-section {
  padding: 64px 0;
  background: var(--white);
}

.provides-list {
  list-style: none;
  max-width: 900px;
  margin: 32px 0;
}

.provides-list li {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
}

.provides-list li::before {
  content: '●';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 16px;
}

.provides-list strong {
  color: var(--primary);
  font-weight: 700;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .values-grid,
  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .leadership-grid {
    grid-template-columns: 1fr;
  }
  
  .page-header h1 {
    font-size: 32px;
  }
}

@media (max-width: 600px) {
  .values-grid,
  .facilities-grid,
  .leadership-grid {
    grid-template-columns: 1fr;
  }
  
  .page-header h1 {
    font-size: 26px;
  }
  
  .about-section-title {
    font-size: 22px;
  }
}

/* Infrastructure Gallery Grid Styling */
.infrastructure-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.infra-gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  aspect-ratio: 16 / 9; /* Elegant landscape ratio for medium size display */
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease;
}

.infra-gallery-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 24px rgba(128, 22, 18, 0.15);
}

.infra-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .infrastructure-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .infrastructure-gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .infra-gallery-item {
    aspect-ratio: 4 / 3;
  }
}

/* Lightbox Popup Styles */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-inner img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 6px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  display: block;
}

.lightbox-close {
  position: absolute;
  top: -36px;
  right: 0;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}

.lightbox-caption {
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  text-align: center;
  margin-top: 10px;
}

/* SPORTS & CO-CURRICULAR ACTIVITIES */
.sports-activities-section {
  padding: 64px 0;
  background: var(--white);
}

.sports-activities-section p {
  font-size: 14px;
  line-height: 1.9;
  color: #555;
  margin-bottom: 16px;
}

/* PLACEMENT & INDUSTRY INTERFACE */
.placement-section {
  padding: 64px 0;
  background: var(--light-bg);
}

.placement-section p {
  font-size: 14px;
  line-height: 1.9;
  color: #555;
  margin-bottom: 16px;
}