/* ===================================
   BES Services 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="30" stroke="rgba(251,191,36,0.15)" stroke-width="2" fill="none"/><circle cx="50" cy="50" r="20" stroke="rgba(251,191,36,0.1)" stroke-width="2" fill="none"/></svg>');
  opacity: 0.3;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.5;
  }
}

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

.content h2 {
  text-align: center;
  font-size: 2.8rem;
  color: #1e3a8a;
  margin-bottom: 20px;
  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;
  margin-bottom: 50px;
  padding: 0 20px;
}

/* Accordion Container */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Accordion Item */
.accordion-item {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.accordion-item:hover {
  box-shadow: 0 12px 35px rgba(30, 58, 138, 0.15);
  border-color: rgba(251, 191, 36, 0.3);
}

/* Accordion Header */
.accordion-header {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: #fbbf24;
  padding: 20px 30px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
  user-select: none;
}

.accordion-header::after {
  content: '▼';
  font-size: 1rem;
  color: #fbbf24;
  transition: transform 0.3s ease;
  margin-left: 15px;
}

.accordion-header:hover {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  padding-left: 35px;
}

.accordion-header.active {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #1e3a8a;
}

.accordion-header.active::after {
  transform: rotate(180deg);
  color: #1e3a8a;
}

/* Accordion Content */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  background: white;
  padding: 0 30px;
}

.accordion-content.open {
  max-height: 500px;
  padding: 25px 30px;
  border-top: 2px solid rgba(251, 191, 36, 0.2);
}

.accordion-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #34495e;
  margin: 0;
}

.accordion-content strong {
  color: #1e3a8a;
  font-weight: 700;
}

/* Service Icons (Optional Enhancement) */
.accordion-item:nth-child(1) .accordion-header::before {
  content: '🕐';
  margin-right: 12px;
  font-size: 1.3rem;
}

.accordion-item:nth-child(2) .accordion-header::before {
  content: '📚';
  margin-right: 12px;
  font-size: 1.3rem;
}

.accordion-item:nth-child(3) .accordion-header::before {
  content: '👤';
  margin-right: 12px;
  font-size: 1.3rem;
}

.accordion-item:nth-child(4) .accordion-header::before {
  content: '💬';
  margin-right: 12px;
  font-size: 1.3rem;
}

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

.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;
    margin-bottom: 40px;
  }

  .accordion {
    gap: 15px;
  }

  .accordion-header {
    padding: 18px 20px;
    font-size: 1.05rem;
  }

  .accordion-header:hover {
    padding-left: 25px;
  }

  .accordion-content {
    padding: 0 20px;
  }

  .accordion-content.open {
    padding: 20px;
  }

  .accordion-content p {
    font-size: 1rem;
  }

  .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;
  }

  .content > p {
    font-size: 0.95rem;
  }

  .accordion-header {
    padding: 15px 18px;
    font-size: 0.95rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .accordion-header::after {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
  }

  .accordion-header.active::after {
    transform: translateY(-50%) rotate(180deg);
  }

  .accordion-item:nth-child(n) .accordion-header::before {
    font-size: 1.1rem;
  }

  .accordion-content {
    padding: 0 18px;
  }

  .accordion-content.open {
    padding: 18px;
  }

  .accordion-content p {
    font-size: 0.95rem;
  }

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