/* Base Styles */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.6;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #0d6efd, #0b5ed7);
  padding: 5rem 0;
}

/* Section Styling */
.section-header h2 {
  position: relative;
  padding-bottom: 15px;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #0d6efd;
}

/* Card Hover Effect */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Faculty Logo */
.card-img-top.p-4 {
  object-fit: contain;
  height: 180px;
  background-color: #f8f9fa;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-section {
    padding: 3rem 0;
    text-align: center;
  }

  .hero-section img {
    margin-top: 2rem;
  }
}

/* Custom Button */
.btn-outline-primary {
  border-width: 2px;
}

/* Footer Links */
footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s;
}

footer a:hover {
  color: white;
}

/* Animations */
.animate__animated {
  visibility: hidden;
}

.animate__fadeInUp,
.animate__fadeInLeft,
.animate__fadeInRight {
  visibility: visible;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #0d6efd, #0b5ed7);
  position: relative;
  overflow: hidden;
}

.campus-img {
  transition: transform 0.5s ease;
  transform: perspective(1000px) rotateY(0deg);
}

.campus-img:hover {
  transform: perspective(1000px) rotateY(-10deg);
}

/* Cards Animation */
.faculty-card,
.news-card,
.event-card {
  transition: all 0.3s ease;
  transform: translateY(0);
}

.faculty-card:hover,
.news-card:hover,
.event-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Button Effects */
.btn-hover-grow {
  transition: all 0.3s ease;
}

.btn-hover-grow:hover {
  transform: scale(1.05);
}

/* News Image Effect */
.news-img {
  transition: transform 0.5s ease;
  height: 200px;
  object-fit: cover;
}

.news-img:hover {
  transform: scale(1.05);
}

/* Event Card */
.event-card {
  position: relative;
  overflow: hidden;
}

.event-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--bs-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.event-card:hover::before {
  transform: scaleX(1);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(rgba(13, 110, 253, 0.9), rgba(13, 110, 253, 0.9)),
    url("../img/cta-bg.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
}

/* Counter Animation */
.counter {
  font-size: 3rem;
  font-weight: 700;
  color: #0d6efd;
}

/* Leader Section Styles */
.leader-section {
  background-color: #f8f9fa;
}

.leader-card {
  transition: all 0.3s ease;
  border: none;
  border-radius: 10px;
  overflow: hidden;
}

.leader-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.leader-img-container {
  height: 250px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f0f0f0;
}

.leader-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.leader-card:hover .leader-img {
  transform: scale(1.05);
}

.btn-bio {
  transition: all 0.3s ease;
}

.btn-bio:hover {
  background-color: #0d6efd;
  color: white;
}

/* Modal Styles */
#bioModal .modal-content {
  border-radius: 15px;
}

#bioModal .rounded-circle {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border: 3px solid #0d6efd;
}

/* History Section Styles */
.history-section {
  background-color: #f8f9fa;
  position: relative;
}

/* Timeline Styles */
.timeline {
  position: relative;
  padding-left: 50px;
}

.timeline:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 25px;
  width: 4px;
  background: linear-gradient(to bottom, #0d6efd, #198754, #ffc107, #dc3545);
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
}

.timeline-badge {
  position: absolute;
  left: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #0d6efd;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
}

.timeline-panel {
  position: relative;
  background: white;
  border-radius: 10px;
  padding: 20px;
  margin-left: 40px;
  transition: all 0.3s ease;
}

.timeline-panel:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.timeline-line {
  width: 100px;
  height: 4px;
  background: linear-gradient(to right, #0d6efd, #198754);
  margin: 20px auto;
}

/* Timeline Images */
.timeline-img-container {
  height: 200px;
  overflow: hidden;
  border-radius: 8px;
}

.timeline-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.timeline-img:hover {
  transform: scale(1.05);
}

/* Gallery Styles */
.history-gallery {
  margin-top: 20px;
}

.gallery-img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
  cursor: pointer;
}

.gallery-img:hover {
  transform: scale(1.03);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Timeline */
@media (max-width: 767px) {
  .timeline:before {
    left: 15px;
  }

  .timeline-badge {
    left: 2px;
    width: 25px;
    height: 25px;
  }

  .timeline-panel {
    margin-left: 30px;
  }
}

/* Vision & Mission Section */
.vision-mission-section {
  background-color: #f8f9fa;
}

.divider {
  width: 100px;
  height: 4px;
  background: linear-gradient(to right, #0d6efd, #198754);
  margin: 20px auto;
}

/* Vision Card */
.vision-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.vision-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(13, 110, 253, 0.2) !important;
}

.vision-text {
  font-style: italic;
  color: #495057;
  position: relative;
}

.vision-text::before {
  content: '"';
  font-size: 5rem;
  color: rgba(13, 110, 253, 0.1);
  position: absolute;
  left: -20px;
  top: -40px;
}

.vision-illustration {
  max-height: 200px;
  transition: transform 0.5s ease;
}

.vision-card:hover .vision-illustration {
  transform: scale(1.05);
}

/* Mission Card */
.mission-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.mission-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(25, 135, 84, 0.2) !important;
}

.mission-list {
  list-style: none;
  padding-left: 0;
}

.mission-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px dashed #dee2e6;
  transition: all 0.3s ease;
}

.mission-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.mission-item:hover {
  transform: translateX(10px);
}

.mission-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  margin-right: 20px;
  flex-shrink: 0;
}

.mission-content {
  flex-grow: 1;
}

.bg-purple {
  background-color: #6f42c1;
}

/* Values Section */
.values-container {
  margin-top: 30px;
}

.value-item {
  background: white;
  transition: all 0.3s ease;
  height: 100%;
}

.value-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.value-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.75rem;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
  .mission-item {
    flex-direction: column;
  }

  .mission-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .vision-text::before {
    font-size: 3rem;
    left: -10px;
    top: -20px;
  }
}

/* Accreditation Section */
.accreditation-section {
  background-color: #f8f9fa;
}

.divider {
  width: 100px;
  height: 4px;
  background: linear-gradient(to right, #0d6efd, #198754);
  margin: 20px auto;
}

/* Accreditation Cards */
.accreditation-card {
  border: none;
  border-radius: 10px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.accreditation-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.accreditation-logo {
  max-height: 80px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.accreditation-card:hover .accreditation-logo {
  transform: scale(1.1);
}

.rating-badge {
  display: inline-block;
  padding: 8px 15px;
  background-color: #0d6efd;
  color: white;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1rem;
}

/* Table Styles */
.table-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* Badge Colors */
.bg-success {
  background-color: #198754 !important;
}

.bg-primary {
  background-color: #0d6efd !important;
}

.bg-warning {
  background-color: #ffc107 !important;
  color: #212529 !important;
}

.bg-secondary {
  background-color: #6c757d !important;
}

/* Benefits List */
.benefits-list {
  list-style: none;
  padding-left: 0;
}

.benefits-list li {
  padding: 8px 0;
  position: relative;
  padding-left: 30px;
}

.benefits-list li:before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #198754;
  position: absolute;
  left: 0;
}

/* Modal Styles */
#detailModal .modal-content {
  border-radius: 15px;
}

#detailModal img {
  max-height: 150px;
  max-width: 100%;
  object-fit: contain;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
  .accreditation-card {
    margin-bottom: 20px;
  }

  .table-logo {
    width: 30px;
    height: 30px;
  }
}

/* Faculties Section */
.faculties-section {
  background-color: #f8f9fa;
}

.divider {
  width: 100px;
  height: 4px;
  background: linear-gradient(to right, #0d6efd, #198754);
  margin: 20px auto;
}

/* Faculty Cards */
.faculty-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faculty-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
}

.faculty-img-container {
  height: 180px;
  background-color: #f0f2f5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.faculty-logo {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.faculty-card:hover .faculty-logo {
  transform: scale(1.1);
}

.no-logo-placeholder {
  font-size: 4rem;
  color: #adb5bd;
}

.faculty-meta {
  font-size: 0.9rem;
}

.faculty-desc {
  color: #6c757d;
  min-height: 72px;
}

/* Program List */
.program-list {
  list-style: none;
  padding-left: 0;
}

.program-list li {
  padding: 8px 0;
  position: relative;
  padding-left: 30px;
}

.program-list li:before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #198754;
  position: absolute;
  left: 0;
}

/* Button Effects */
.btn-hover-grow {
  transition: all 0.3s ease;
}

.btn-hover-grow:hover {
  transform: scale(1.05);
}

/* Responsive Adjustments */
@media (max-width: 767px) {
  .faculty-img-container {
    height: 150px;
  }

  .faculty-card {
    margin-bottom: 20px;
  }

  .no-logo-placeholder {
    font-size: 3rem;
  }
}

/* Faculties Section */
.faculties-section {
  background-color: #f8f9fa;
}

.divider {
  width: 100px;
  height: 4px;
  background: linear-gradient(to right, #0d6efd, #198754);
  margin: 20px auto;
}

/* Faculty Cards */
.faculty-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}

.faculty-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
}

.faculty-img-container {
  height: 180px;
  background-color: #f0f2f5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.faculty-logo {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.faculty-card:hover .faculty-logo {
  transform: scale(1.1);
}

.no-logo-placeholder {
  font-size: 4rem;
  color: #adb5bd;
}

.faculty-meta {
  font-size: 0.9rem;
}

.faculty-desc {
  color: #6c757d;
  min-height: 72px;
}

/* Button Effects */
.btn-hover-grow {
  transition: all 0.3s ease;
}

.btn-hover-grow:hover {
  transform: scale(1.05);
}

/* Modal Styles */
.icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
  .faculty-img-container {
    height: 150px;
  }

  .no-logo-placeholder {
    font-size: 3rem;
  }

  .faculty-card {
    margin-bottom: 20px;
  }
}

/* Faculty Showcase Styles */
.faculty-showcase {
  background-color: #f8f9fa;
}

.divider {
  width: 80px;
  height: 3px;
  background-color: #3b82f6;
  margin: 1rem auto;
}

.faculty-card {
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: none;
}

.faculty-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.faculty-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
  margin: 0 auto;
}

.faculty-badge {
  display: inline-block;
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}

.faculty-badge-blue {
  background-color: #e0f2fe;
  color: #0369a1;
}

.faculty-badge-yellow {
  background-color: #fef9c3;
  color: #854d0e;
}

.faculty-badge-red {
  background-color: #fee2e2;
  color: #991b1b;
}

/* Faculty Modal Styles */
.faculty-modal-logo {
  height: 100px;
  width: auto;
  object-fit: contain;
  margin: 0 auto;
  padding: 10px;
  border-radius: 10px;
}

.faculty-modal-blue {
  background-color: #e0f2fe;
}

.faculty-modal-yellow {
  background-color: #fef9c3;
}

.faculty-modal-red {
  background-color: #fee2e2;
}

.faculty-details {
  margin-top: 1.5rem;
}

.detail-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.detail-item i {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f3f4f6;
  border-radius: 50%;
  margin-right: 1rem;
  color: #4b5563;
}

.detail-label {
  display: block;
  font-size: 0.85rem;
  color: #6b7280;
}

.detail-value {
  display: block;
  font-weight: 600;
  color: #1f2937;
}

/* Responsive Design */
@media (max-width: 768px) {
  .faculty-logo {
    height: 70px;
  }

  .modal-body .row {
    flex-direction: column;
  }

  .modal-body .col-md-4 {
    margin-bottom: 1.5rem;
  }
}

/* ===== curriculum Page Styles ===== */
.curriculum-section {
  background-color: #f8f9fa;
  padding: 5rem 0;
}

.curriculum-card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  overflow: hidden;
}

.curriculum-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.curriculum-card .card-body {
  padding: 2.5rem;
}

.curriculum-card h3 {
  color: #0d6efd;
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 1.5rem;
}

.curriculum-card h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, #0d6efd, #20c997);
}

.curriculum-card ul {
  list-style: none;
  padding-left: 0;
}

.curriculum-card ul li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.5rem;
}

.curriculum-card ul li::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #20c997;
  position: absolute;
  left: 0;
  top: 0.5rem;
}

.curriculum-feature-box {
  background-color: #e9f7fe;
  border-left: 4px solid #0d6efd;
  padding: 1.5rem;
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .curriculum-section {
    padding: 3rem 0;
  }

  .curriculum-card .card-body {
    padding: 1.5rem;
  }

  .curriculum-card h3 {
    font-size: 1.4rem;
  }
}

/* ===== Admission Page Styles ===== */
.admission-section {
  background-color: #f8f9fa;
}

.admission-card {
  border: none;
  border-radius: 12px;
  transition: all 0.3s ease;
  overflow: hidden;
  margin-bottom: 2rem;
}

.admission-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.path-card {
  background-color: white;
  border-radius: 8px;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.path-card:hover {
  border-color: #0d6efd;
  box-shadow: 0 5px 15px rgba(13, 110, 253, 0.1);
}

.requirements-list {
  list-style: none;
  padding-left: 0;
}

.requirements-list li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.5rem;
}

.requirements-list li::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #0d6efd;
  position: absolute;
  left: 0;
  top: 0.5rem;
}

.admission-schedule th {
  white-space: nowrap;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .admission-card {
    margin-bottom: 1.5rem;
  }

  .path-card {
    margin-bottom: 1rem;
  }

  .admission-schedule {
    font-size: 0.9rem;
  }
}

/* News & Events Styles */
.news-container {
  background-color: #f8f9fa;
}

.section-title {
  position: relative;
  padding-bottom: 15px;
  color: #2c3e50;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: #0d6efd;
}

.news-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.news-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.news-img-container {
  height: 200px;
  overflow: hidden;
}

.news-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-img {
  transform: scale(1.1);
}

.news-content {
  padding: 20px;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.news-badge {
  background: #0d6efd;
  color: white;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
}

.news-date {
  color: #6c757d;
  font-size: 0.9rem;
}

.news-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #2c3e50;
}

.news-excerpt {
  color: #6c757d;
  margin-bottom: 15px;
}

.news-link {
  color: #0d6efd;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}

.news-link::after {
  content: "→";
  margin-left: 5px;
  transition: margin-left 0.3s;
}

.news-link:hover::after {
  margin-left: 10px;
}

/* Event Cards */
.event-card {
  display: flex;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.event-card:hover {
  transform: translateY(-5px);
}

.event-date {
  background: #0d6efd;
  color: white;
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 80px;
}

.event-day {
  font-size: 2rem;
  font-weight: bold;
  line-height: 1;
}

.event-month {
  font-size: 0.9rem;
  text-transform: uppercase;
}

.event-details {
  padding: 15px;
  flex-grow: 1;
}

.event-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #2c3e50;
}

.event-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: #6c757d;
}

.event-meta i {
  margin-right: 5px;
}

.event-desc {
  color: #6c757d;
  margin-bottom: 0;
}

/* Perbaikan animasi */
.animate__animated {
  animation-fill-mode: both;
  visibility: visible !important;
}

/* Animasi spesifik */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -20px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.animate__fadeInDown {
  animation-name: fadeInDown;
}

.animate__fadeInLeft {
  animation-name: fadeInLeft;
}

.animate__fadeInRight {
  animation-name: fadeInRight;
}

.animate__fadeInUp {
  animation-name: fadeInUp;
}

