/* ===== ABOUT COLLEGE & HOSPITAL PAGE STYLES ===== */
/* Using brand colors from :root - Updated with Green Brand Identity */

:root {
  --primary-color: #00983c; /* Fresh green */
  --primary-dark: #006b2a; /* Darker green */
  --secondary-color: #4f6b5b; /* Earthy green-gray */
  --accent-color: #1db954; /* Bright accent green */
  --light-color: #f4fbf6; /* Soft green-tinted white */
  --dark-color: #1e2d26; /* Deep forest green */
  --success-color: #198754; /* Bootstrap success green */
  --danger-color: #c0392b; /* Keeping red for alerts */
  --warning-color: #ffc107;
  --gray-50: #f8f9fa;
  --gray-100: #f1f5f2;
  --gray-200: #dfe7e2;
  --gray-300: #c8d3cc;
  --gray-400: #aebbb3;
  --gray-500: #8b9891;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  --shadow-sm: 0 0.125rem 0.5rem rgba(0, 152, 60, 0.08);
  --shadow-md: 0 0.25rem 1rem rgba(0, 152, 60, 0.12);
  --shadow-lg: 0 0.5rem 2rem rgba(0, 152, 60, 0.16);
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.25rem;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ===== HERO SECTION ===== */
.about-hero {
  background: linear-gradient(135deg, #00983c 0%, #006b2a 100%);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  color: white;
}

/* Add decorative wave pattern like contact page */
.about-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="white" opacity="0.05"><path d="M0,70 Q250,10 500,70 T1000,70 L1000,100 L0,100 Z"/></svg>');
  background-size: cover;
  pointer-events: none;
}

.hero-content {
  animation: fadeInUp 0.6s ease-out;
  position: relative;
  z-index: 1;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

.hero-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  font-family: 'Playfair Display', serif;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Hero Image */
.hero-image {
  position: relative;
}

.image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.image-frame img {
  width: 100%;
  height: auto;
  transition: transform var(--transition-slow);
}

.image-frame:hover img {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  padding: 1rem;
  transform: translateY(100%);
  transition: transform var(--transition-normal);
}

.image-frame:hover .image-overlay {
  transform: translateY(0);
}

.overlay-content h5 {
  color: white;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.overlay-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
  margin: 0;
}

/* ===== SECTION PADDING ===== */
.section-padding {
  padding: 80px 0;
}

.bg-light {
  background-color: var(--gray-50);
}

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: left;
}

.section-header.text-center {
  text-align: center;
}

.section-subtitle {
  color: var(--primary-color);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.section-title {
  color: var(--dark-color);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: "Playfair Display", serif;
}

.section-description {
  color: var(--gray-600);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.title-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  margin: 1rem 0 0 0;
  border-radius: 3px;
}

/* ===== FEATURE CARD ===== */
.feature-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: var(--light-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.feature-icon i {
  font-size: 2rem;
  color: var(--primary-color);
}

.feature-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.feature-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap var(--transition-fast);
}

.feature-link:hover {
  gap: 0.75rem;
  color: var(--primary-dark);
}

/* ===== CONTENT TEXT ===== */
.content-text .lead {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--dark-color);
  line-height: 1.7;
}

.content-text p {
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* ===== CONNECTIVITY CARDS ===== */
.connectivity-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border: 1px solid var(--gray-200);
}

.connectivity-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.connectivity-icon {
  width: 60px;
  height: 60px;
  background: var(--light-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.connectivity-icon i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.connectivity-card h5 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 0.75rem;
}

.connectivity-card p {
  color: var(--gray-600);
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
}

/* ===== ACCREDITATION CARDS ===== */
.accreditation-card {
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.accreditation-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.accreditation-icon {
  margin-bottom: 1rem;
}

.accreditation-icon i {
  font-size: 2.5rem;
  color: var(--primary-color);
}

.accreditation-card h5 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 0.5rem;
}

.accreditation-card p {
  font-size: 0.75rem;
  color: var(--gray-600);
  margin: 0;
}

/* ===== CAMPUS CONTENT ===== */
.campus-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.campus-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.campus-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

.campus-icon {
  width: 50px;
  height: 50px;
  background: var(--light-color);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.campus-icon i {
  font-size: 1.25rem;
  color: var(--primary-color);
}

.campus-item h5 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 0.25rem;
}

.campus-item p {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin: 0;
}

/* ===== QUOTE CARD ===== */
.quote-card {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  padding: 2rem;
  border-radius: var(--radius-lg);
  color: white;
  position: relative;
  overflow: hidden;
}

.quote-icon {
  font-size: 3rem;
  opacity: 0.2;
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.quote-card blockquote {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  font-style: italic;
}

.quote-footer p {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.quote-footer span {
  font-size: 0.875rem;
  opacity: 0.9;
}

/* ===== BACK TO TOP BUTTON ===== */
.btn-floating {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  border: none;
  color: white;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  z-index: 1000;
  cursor: pointer;
}

.btn-floating:hover {
  transform: translateY(-3px);
  background: var(--primary-dark);
  color: white;
}

.btn-floating.show {
  display: flex;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 991px) {
  .about-hero {
    padding: 100px 0 60px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-padding {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.75rem;
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding: 80px 0 40px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-stats {
    gap: 1rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .section-padding {
    padding: 40px 0;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .quote-card blockquote {
    font-size: 1rem;
  }

  .feature-card,
  .connectivity-card,
  .accreditation-card {
    margin-bottom: 1rem;
  }
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}
