/* ===== DEGREE HERO SECTION ===== */
.degree-hero {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.hero-image img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.hero-image:hover img {
  transform: scale(1.05);
}

.badge-degree {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(135deg, #89287f 0%, #5271ff 100%);
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  line-height: 1.3;
}

.hero-description {
  font-size: 1.1rem;
  color: #6c757d;
  line-height: 1.8;
}

/* Stats Cards */
.stat-card {
  text-align: center;
  padding: 20px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(137, 40, 127, 0.15);
}

.stat-card i {
  font-size: 2.5rem;
  color: #89287f;
  margin-bottom: 10px;
}

.stat-card h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 10px 0 5px;
}

.stat-card p {
  font-size: 0.9rem;
  color: #6c757d;
  margin: 0;
}

/* Register Button */
.btn-register {
  display: inline-flex;
  align-items: center;
  padding: 15px 35px;
  background: linear-gradient(135deg, #89287f 0%, #5271ff 100%);
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(137, 40, 127, 0.3);
  transition: all 0.3s ease;
}

.btn-register:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(137, 40, 127, 0.4);
  color: white;
}

/* ===== PROGRAMS SECTION ===== */
.programs-section {
  padding: 80px 0;
  background: white;
}

.department-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 3px solid #89287f;
  display: inline-block;
}

/* Program Cards */
.program-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(137, 40, 127, 0.1);
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(137, 40, 127, 0.2);
  border-color: rgba(137, 40, 127, 0.3);
}

.program-header {
  background: linear-gradient(135deg, rgba(137, 40, 127, 0.05) 0%, rgba(82, 113, 255, 0.05) 100%);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid rgba(137, 40, 127, 0.1);
}

.program-badge {
  display: inline-block;
  padding: 6px 15px;
  background: linear-gradient(135deg, #89287f 0%, #5271ff 100%);
  color: white;
  font-weight: 600;
  font-size: 0.8rem;
  border-radius: 50px;
  text-transform: uppercase;
}

.credits-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: white;
  color: #89287f;
  font-weight: 600;
  font-size: 0.8rem;
  border-radius: 50px;
  border: 2px solid #89287f;
}

.program-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.program-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
  line-height: 1.35;
  min-height: 90px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.program-description {
  font-size: 0.95rem;
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.program-meta {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding-top: 15px;
  border-top: 1px solid #e9ecef;
}

.program-meta span {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  color: #6c757d;
}

.program-meta i {
  color: #89287f;
  margin-right: 5px;
}

.program-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.btn-detail {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  background: linear-gradient(135deg, #89287f 0%, #5271ff 100%);
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-detail:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(137, 40, 127, 0.3);
  color: white;
}

.btn-website {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: white;
  color: #89287f;
  border: 2px solid #89287f;
  border-radius: 10px;
  font-size: 1.2rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-website:hover {
  background: linear-gradient(135deg, #89287f 0%, #5271ff 100%);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.cta-box {
  background: linear-gradient(135deg, 
    rgba(137, 40, 127, 0.03) 0%, 
    rgba(82, 113, 255, 0.03) 100%);
  border-radius: 25px;
  padding: 60px 50px;
  border: 2px solid rgba(137, 40, 127, 0.1);
  transition: all 0.3s ease;
}

.cta-box:hover {
  border-color: rgba(137, 40, 127, 0.2);
  box-shadow: 0 15px 50px rgba(137, 40, 127, 0.15);
}

.cta-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(137, 40, 127, 0.1);
  color: #89287f;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 50px;
}

.cta-title {
  font-size: 2rem;
  font-weight: 700;
  color: #2c3e50;
  line-height: 1.3;
}

.cta-description {
  font-size: 1.1rem;
  color: #6c757d;
  line-height: 1.7;
  margin: 0;
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 35px;
  background: linear-gradient(135deg, #89287f 0%, #5271ff 100%);
  color: white;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(137, 40, 127, 0.3);
  border: none;
}

.btn-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(137, 40, 127, 0.4);
  color: white;
}

.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 35px;
  background: white;
  color: #89287f;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid #89287f;
}

.btn-cta-secondary:hover {
  background: linear-gradient(135deg, #89287f 0%, #5271ff 100%);
  color: white;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(137, 40, 127, 0.3);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .cta-title {
    font-size: 1.75rem;
  }
  
  .cta-description {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .degree-hero {
    padding: 60px 0;
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .hero-description {
    font-size: 0.95rem;
  }
  
  .stat-card {
    padding: 15px;
  }
  
  .stat-card i {
    font-size: 2rem;
  }
  
  .stat-card h3 {
    font-size: 1.5rem;
  }
  
  .programs-section {
    padding: 60px 0;
  }
  
  .department-title {
    font-size: 1.3rem;
  }
  
  .program-title {
    font-size: 1.05rem;
    min-height: auto;
    -webkit-line-clamp: 4;
  }
  
  .cta-section {
    padding: 60px 0;
  }
  
  .cta-box {
    padding: 40px 30px;
  }
  
  .cta-title {
    font-size: 1.5rem;
  }
  
  .cta-description {
    font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.5rem;
  }
  
  .badge-degree {
    font-size: 0.75rem;
    padding: 6px 15px;
  }
  
  .btn-register {
    padding: 12px 25px;
    font-size: 1rem;
  }
  
  .program-header {
    padding: 15px;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  
  .program-title {
    font-size: 1rem;
    min-height: auto;
    -webkit-line-clamp: 4;
  }
  
  .program-content {
    padding: 20px;
  }
  
  .btn-detail,
  .btn-cta-primary,
  .btn-cta-secondary {
    padding: 12px 25px;
    font-size: 0.9rem;
  }
}

/* ===== ANIMATIONS ===== */
[data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

[data-aos="fade-up"].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

[data-aos="zoom-in"] {
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.6s ease;
}

[data-aos="zoom-in"].aos-animate {
  opacity: 1;
  transform: scale(1);
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.loading {
  animation: pulse 1.5s ease-in-out infinite;
}