/* ===================================
   BES About Page - Royal Blue & Gold
   =================================== */

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
  color: #2c3e50;
  line-height: 1.6;
  min-height: 100vh;
}

/* Hero Banner */
.hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  color: #fbbf24;
  text-align: center;
  padding: 80px 20px;
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  margin-bottom: 60px;
  border-bottom: 5px solid #fbbf24;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><circle cx="50" cy="50" r="40" stroke="rgba(251,191,36,0.1)" stroke-width="2" fill="none"/></svg>');
  opacity: 0.3;
  animation: float 20s linear infinite;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-100px);
  }
}

/* Main Content Container */
.content {
  max-width: 1200px;
  margin: 0 auto 80px;
  padding: 0 20px;
}

.content > h2 {
  text-align: center;
  font-size: 2.8rem;
  color: #1e3a8a;
  margin-bottom: 30px;
  font-weight: 700;
  position: relative;
  padding-bottom: 20px;
}

.content > h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: linear-gradient(90deg, #1e3a8a 0%, #fbbf24 100%);
  border-radius: 3px;
}

.content > p {
  font-size: 1.15rem;
  line-height: 1.9;
  color: #34495e;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

/* Card Styles */
.card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, #1e3a8a 0%, #fbbf24 100%);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(30, 58, 138, 0.15);
  border-color: rgba(251, 191, 36, 0.3);
}

.card h3 {
  font-size: 2rem;
  color: #1e3a8a;
  margin-bottom: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}

.card h3::before {
  content: '◆';
  color: #fbbf24;
  font-size: 1.5rem;
}

.card p {
  font-size: 1.1rem;
  color: #34495e;
  line-height: 1.9;
  margin-bottom: 15px;
}

.card p:last-child {
  margin-bottom: 0;
}

.card b {
  color: #1e3a8a;
  font-weight: 700;
}

.card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card ul li {
  font-size: 1.1rem;
  color: #34495e;
  padding: 12px 0;
  padding-left: 35px;
  position: relative;
  line-height: 1.7;
  border-bottom: 1px solid #e8ecf1;
}

.card ul li:last-child {
  border-bottom: none;
}

.card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 12px;
  width: 25px;
  height: 25px;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: #fbbf24;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 3px 10px rgba(30, 58, 138, 0.3);
}

/* Two Column Layout */
.two-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.two-columns .card {
  margin-bottom: 0;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.05) 0%, rgba(251, 191, 36, 0.05) 100%);
}

.two-columns .card:hover {
  background: white;
}

.two-columns .card h3 {
  font-size: 1.8rem;
  text-align: center;
  justify-content: center;
  margin-bottom: 15px;
}

.two-columns .card p {
  text-align: center;
  font-size: 1.15rem;
  color: #1e3a8a;
  font-weight: 500;
}

/* Philosophical Mandate Special Styling */
.content .card:first-of-type {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  color: white;
  border: none;
}

.content .card:first-of-type::before {
  background: #fbbf24;
}

.content .card:first-of-type h3 {
  color: #fbbf24;
  font-size: 2.3rem;
}

.content .card:first-of-type p {
  color: white;
  opacity: 0.95;
}

.content .card:first-of-type b {
  color: #fbbf24;
  font-weight: 700;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* University Footer (Legacy - Consider replacing with footer.php) */
.university-footer {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  padding: 60px 20px 40px;
  text-align: center;
  margin-top: 80px;
}

.university-footer h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  font-weight: 700;
  letter-spacing: 2px;
}

.tagline {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 25px;
}

.social-icons a {
  display: inline-block;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  transform: translateY(-5px);
}

.social-icons img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: white;
  padding: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.social-icons a:hover img {
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    font-size: 2.5rem;
    padding: 60px 20px;
    letter-spacing: 2px;
  }

  .content > h2 {
    font-size: 2.2rem;
  }

  .content > p {
    font-size: 1rem;
    padding: 0 10px;
  }

  .card {
    padding: 30px 25px;
  }

  .card h3 {
    font-size: 1.6rem;
  }

  .card p,
  .card ul li {
    font-size: 1rem;
  }

  .two-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .two-columns .card {
    min-height: 150px;
  }

  .content .card:first-of-type h3 {
    font-size: 1.8rem;
  }

  .university-footer h3 {
    font-size: 1.4rem;
  }

  .tagline {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .hero {
    font-size: 2rem;
    padding: 50px 15px;
    letter-spacing: 1px;
  }

  .content {
    padding: 0 15px;
  }

  .content > h2 {
    font-size: 1.8rem;
  }

  .card {
    padding: 25px 20px;
    border-radius: 15px;
  }

  .card h3 {
    font-size: 1.4rem;
  }

  .card h3::before {
    font-size: 1.2rem;
  }

  .card p,
  .card ul li {
    font-size: 0.95rem;
  }

  .card ul li {
    padding-left: 30px;
  }

  .card ul li::before {
    width: 22px;
    height: 22px;
    font-size: 0.8rem;
  }

  .two-columns .card h3 {
    font-size: 1.5rem;
  }

  .two-columns .card p {
    font-size: 1rem;
  }

  .content .card:first-of-type h3 {
    font-size: 1.6rem;
  }

  .social-icons img {
    width: 40px;
    height: 40px;
  }
}