/* ===== TENTANG (ABOUT) PAGE ===== */
.visi-misi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.visi-misi-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.visi-misi-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #6c757d, #868e96);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.visi-misi-card:hover::before {
  transform: scaleX(1);
}

.visi-misi-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.visi-misi-card .card-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  transform-origin: center;
  transition: transform 0.4s ease;
}

.visi-misi-card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
}

.visi-misi-card h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.visi-misi-card p {
  color: #5a6268;
  line-height: 1.8;
  margin: 0;
}

.tujuan-section {
  background: linear-gradient(
    135deg,
    rgba(108, 117, 125, 0.05),
    rgba(134, 142, 150, 0.05)
  );
  border-radius: 20px;
  padding: 3rem;
  margin-top: 3rem;
}

.tujuan-section h3 {
  font-size: 2rem;
  font-weight: 800;
  color: #2c3e50;
  margin-bottom: 2rem;
  text-align: center;
}

.tujuan-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.tujuan-item {
  background: white;
  padding: 1.5rem;
  border-radius: 15px;
  display: flex;
  align-items: start;
  gap: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.tujuan-item:hover {
  transform: translateX(10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.tujuan-number {
  background: linear-gradient(135deg, #6c757d, #868e96);
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.tujuan-text {
  color: #5a6268;
  line-height: 1.6;
}

/* ===== KURIKULUM (CURRICULUM) PAGE ===== */
.curriculum-semesters {
  display: grid;
  gap: 2rem;
}

.semester-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  border-left: 5px solid transparent;
}

.semester-card:nth-child(1) {
  border-left-color: #6c757d;
}
.semester-card:nth-child(2) {
  border-left-color: #868e96;
}
.semester-card:nth-child(3) {
  border-left-color: #5a6268;
}
.semester-card:nth-child(4) {
  border-left-color: #495057;
}

.semester-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.semester-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(108, 117, 125, 0.1);
}

.semester-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0;
}

.total-sks {
  background: linear-gradient(135deg, #6c757d, #868e96);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
}

.course-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.course-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(108, 117, 125, 0.1);
  transition: all 0.3s ease;
}

.course-item:last-child {
  border-bottom: none;
}

.course-item:hover {
  padding-left: 10px;
  background: rgba(108, 117, 125, 0.05);
}

.course-name {
  color: #2c3e50;
  font-weight: 500;
}

.course-sks {
  background: rgba(108, 117, 125, 0.1);
  color: #5a6268;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
}

.download-section {
  background: linear-gradient(
    135deg,
    rgba(108, 117, 125, 0.1),
    rgba(134, 142, 150, 0.1)
  );
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  margin-top: 3rem;
}

.download-section h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #6c757d, #868e96);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 5px 15px rgba(108, 117, 125, 0.3);
}

.btn-download:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(108, 117, 125, 0.4);
  color: white;
}

/* ===== GALERI (GALLERY) PAGE ===== */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(108, 117, 125, 0.2);
  color: #5a6268;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.filter-btn:hover,
.filter-btn.active {
  background: linear-gradient(135deg, #6c757d, #868e96);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(108, 117, 125, 0.3);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.gallery-item {
  transition: all 0.3s ease;
}

.gallery-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.gallery-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.gallery-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-image img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-zoom {
  background: white;
  color: #6c757d;
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  transform: scale(0.8);
}

.gallery-card:hover .gallery-zoom {
  transform: scale(1);
}

.gallery-zoom:hover {
  background: #6c757d;
  color: white;
  transform: scale(1.1);
}

.gallery-content {
  padding: 1.5rem;
}

.gallery-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.gallery-description {
  color: #5a6268;
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gallery-category {
  display: inline-block;
  background: rgba(108, 117, 125, 0.1);
  color: #6c757d;
  padding: 0.25rem 1rem;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.lightbox-image {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 10px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  color: #2c3e50;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.lightbox-close {
  top: 20px;
  right: 20px;
}

.lightbox-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: white;
  transform: scale(1.1);
}

.lightbox-prev:hover {
  transform: translateY(-50%) scale(1.1);
}

.lightbox-next:hover {
  transform: translateY(-50%) scale(1.1);
}

/* ===== KONTAK (CONTACT) PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.contact-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.contact-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: inline-block;
  transition: transform 0.3s ease;
}

.contact-card:hover .contact-icon {
  transform: scale(1.2) rotate(5deg);
}

.contact-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.contact-card p {
  color: #5a6268;
  line-height: 1.6;
  margin: 0;
}

.contact-card a {
  color: #6c757d;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-card a:hover {
  color: #495057;
}

.contact-form-section {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 3rem;
}

.contact-form-section h3 {
  font-size: 2rem;
  font-weight: 800;
  color: #2c3e50;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 1rem;
  border: 2px solid rgba(108, 117, 125, 0.2);
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: #6c757d;
  box-shadow: 0 0 0 4px rgba(108, 117, 125, 0.1);
}

.btn-submit {
  background: linear-gradient(135deg, #6c757d, #868e96);
  color: white;
  border: none;
  padding: 1rem 3rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 5px 15px rgba(108, 117, 125, 0.3);
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(108, 117, 125, 0.4);
}

.map-section {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-section iframe {
  width: 100%;
  height: 450px;
  border: none;
  display: block;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .visi-misi-grid,
  .tujuan-list,
  .gallery-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .download-buttons {
    flex-direction: column;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}
