:root {
  --primary: #2c3e50;
  --primary-light: #3a5169;
  --secondary: #e74c3c;
  --light: #f8f9fa;
  --dark: #212529;
  --gray: #6c757d;
  --light-gray: #e9ecef;

  --font-primary: "Poppins", sans-serif;
  --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* Base Styles */
body {
  font-family: var(--font-primary);
  color: var(--dark);
  background-color: #fff;
  overflow-x: hidden;
  padding-top: 80px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
}

a {
  text-decoration: none;
  transition: var(--transition);
}

.section-header {
  margin-bottom: 3rem;
}

.section-title {
  position: relative;
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.section-subtitle {
  display: inline-block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--secondary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.divider {
  width: 80px;
  height: 3px;
  background-color: var(--secondary);
  margin: 0 auto;
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader {
  width: 48px;
  height: 48px;
  border: 3px solid var(--primary);
  border-radius: 50%;
  display: inline-block;
  position: relative;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

.loader::after {
  content: "";
  box-sizing: border-box;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-bottom-color: var(--secondary);
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Theme Toggle */
.btn-theme-toggle {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #fff;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.btn-theme-toggle i {
  position: absolute;
  transition: var(--transition);
}

.btn-theme-toggle .fa-sun {
  opacity: 0;
}

/* Hero Section tanpa Video */
.hero-section {
  height: 100vh;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-text {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Animasi saat hover */
.hero-title:hover {
    animation: wobble 1s ease infinite;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5); /* Efek glow */
}

/* Keyframes untuk wobble (jika tidak pakai Animate.css) */
@keyframes wobble {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-3px); }
}

.hero-buttons .btn {
  transition: all 0.3s ease;
  transform: translateY(0);
}

.hero-buttons .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.scroll-down-link {
  display: inline-block;
  animation: bounce 2s infinite;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.scroll-down-link:hover {
  opacity: 1;
  transform: translateY(5px);
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Info Card Modern */
.info-card {
  transition: all 0.3s ease;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(44, 62, 80, 0.9) 0%,
    rgba(44, 62, 80, 0.7) 100%
  );
  z-index: -1;
  opacity: 0;
  transition: all 0.3s ease;
}

.info-card:hover::before {
  opacity: 1;
}

.info-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.info-card:hover .info-icon {
  transform: rotateY(180deg);
  background: rgba(255, 255, 255, 0.2);
}

.info-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  background: rgba(44, 62, 80, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary);
  transition: all 0.5s ease;
}

.info-card:hover .counter {
  color: #fff;
}

.info-card:hover h3 {
  color: #fff;
}

/* About Section Modern */
.about-image {
  overflow: hidden;
  border-radius: 10px;
}

.about-image img {
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 5px 15px;
  border-radius: 30px;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: rgba(44, 62, 80, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

/* Jurusan Card Styles */
.jurusan-card {
  transition: all 0.3s ease;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.jurusan-card .card-img-top {
  height: 180px;
  object-fit: cover;
  transition: transform 0.5s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.jurusan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.jurusan-card:hover .card-img-top {
  transform: scale(1.03);
}

.jurusan-card .card-body {
  padding: 1.5rem;
}

.jurusan-card .card-title {
  font-weight: 600;
  margin-bottom: 1rem;
}

.jurusan-card .card-text {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.jurusan-card ul {
  margin-bottom: 1.25rem;
}

.jurusan-card ul li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.facility-box {
  border-left: 3px solid var(--primary);
  transition: all 0.3s ease;
}

.jurusan-card:hover .facility-box {
  background-color: rgba(0, 123, 255, 0.05) !important;
}

/* Badge styles */
.jurusan-card .badge {
  font-weight: 500;
  padding: 0.35em 0.65em;
  font-size: 0.8rem;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .jurusan-card .card-img-top {
    height: 160px;
  }

  .jurusan-card .card-body {
    padding: 1.25rem;
  }
}

@media (max-width: 575.98px) {
  .jurusan-card .card-img-top {
    height: 140px;
  }
}

/* Facilities Section Styles */
.facilities-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.section-header .section-subtitle {
  color: #6c757d;
  font-weight: 600;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.section-header .section-title {
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-header .divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, #3a7bd5, #198754);
  margin-bottom: 1.5rem;
}

.facility-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 12px;
  overflow: hidden;
  background: white;
  border: none;
}

.facility-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 200px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.facility-img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.3s ease;
}

.facility-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(58, 123, 213, 0.9) 0%,
    rgba(58, 123, 213, 0.7) 100%
  );
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
  padding: 20px;
  text-align: center;
}

.facility-caption {
  color: white;
  transform: translateY(30px);
  transition: all 0.4s ease;
}

.facility-caption h5 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.facility-caption span {
  display: block;
  font-size: 0.9rem;
  opacity: 0.9;
  line-height: 1.5;
}

.facility-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-weight: 600;
  color: #2c3e50;
}

.card-text {
  color: #6c757d;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-top: 1rem;
}

.facility-features {
  margin-top: 1.2rem;
}

.badge {
  font-weight: 500;
  padding: 0.5em 0.9em;
  border-radius: 8px;
  font-size: 0.8rem;
}

/* Hover Effects */
.facility-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.facility-card:hover .facility-overlay {
  opacity: 1;
}

.facility-card:hover .facility-caption {
  transform: translateY(0);
}

.facility-card:hover .facility-img {
  transform: scale(1.1);
  filter: brightness(0.9);
}

/* Button Styles */
.btn-primary {
  background-color: #3a7bd5;
  border-color: #3a7bd5;
  padding: 0.6rem 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-outline-primary {
  color: #3a7bd5;
  border-color: #3a7bd5;
  padding: 0.6rem 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #2c5fb3;
  border-color: #2c5fb3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(58, 123, 213, 0.3);
}

.btn-outline-primary:hover {
  background-color: rgba(58, 123, 213, 0.1);
  transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .facility-img-wrapper {
    height: 180px;
  }

  .card-body {
    padding: 1.25rem;
  }
}

@media (max-width: 767.98px) {
  .section-header .section-title {
    font-size: 2rem;
  }

  .facility-img-wrapper {
    height: 160px;
  }

  .facility-icon {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }
}

@media (max-width: 575.98px) {
  .section-header .section-title {
    font-size: 1.8rem;
  }

  .facility-img-wrapper {
    height: 150px;
  }

  .btn {
    display: block;
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .btn + .btn {
    margin-left: 0;
  }
}

/* Ekskul Section Styles */
.ekskul-section {
  background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.section-header .section-subtitle {
  color: #6c757d;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.section-header .section-title {
  font-weight: 700;
  color: #2c3e50;
}

.section-header .divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, #3a7bd5, #198754);
  margin: 1rem auto;
}

.ekskul-card {
  transition: all 0.3s ease;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
  border: none;
}

.ekskul-img-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.ekskul-img-wrapper img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ekskul-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background-color: rgba(58, 123, 213, 0.1);
}

.card-body {
  padding: 1.25rem;
}

.card-title {
  font-weight: 600;
  color: #2c3e50;
}

.card-text {
  color: #6c757d;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.ekskul-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #6c757d;
}

.ekskul-meta span {
  display: flex;
  align-items: center;
}

.ekskul-meta i {
  margin-right: 5px;
  color: #3a7bd5;
}

/* Hover Effects */
.ekskul-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.ekskul-card:hover .ekskul-overlay {
  opacity: 1;
}

.ekskul-card:hover .ekskul-caption {
  transform: translateY(0);
}

.ekskul-card:hover img {
  transform: scale(1.1);
}

.btn-primary {
  background-color: #3a7bd5;
  border-color: #3a7bd5;
  padding: 0.6rem 1.5rem;
  font-weight: 500;
}

.btn-outline-primary {
  color: #3a7bd5;
  border-color: #3a7bd5;
  padding: 0.6rem 1.5rem;
  font-weight: 500;
}

.btn-primary:hover {
  background-color: #2c5fb3;
  border-color: #2c5fb3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(58, 123, 213, 0.3);
}

.btn-outline-primary:hover {
  background-color: rgba(58, 123, 213, 0.1);
  transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .ekskul-img-wrapper {
    height: 180px;
  }
}

@media (max-width: 767.98px) {
  .section-header .section-title {
    font-size: 1.8rem;
  }

  .ekskul-meta {
    flex-direction: column;
    gap: 5px;
  }
}

@media (max-width: 575.98px) {
  .ekskul-img-wrapper {
    height: 160px;
  }

  .btn {
    display: block;
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .btn + .btn {
    margin-left: 0;
  }
}

/* Gallery Section Styles */
.gallery-section {
  background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.section-header .section-subtitle {
  color: #6c757d;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.section-header .section-title {
  font-weight: 700;
  color: #2c3e50;
}

.section-header .divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, #3a7bd5, #198754);
  margin: 1rem auto;
}

.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 1.5rem;
}

.gallery-filter .btn {
  transition: all 0.3s ease;
}

.gallery-filter .btn.active {
  background-color: #3a7bd5;
  color: white;
  border-color: #3a7bd5;
}

.gallery-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 200px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(58, 123, 213, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  padding: 15px;
  text-align: center;
}

.gallery-caption {
  color: white;
  transform: translateY(20px);
  transition: all 0.3s ease;
  width: 100%;
}

.gallery-caption h5 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.gallery-caption p {
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.gallery-details {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 0.5rem;
}

.gallery-details p {
  margin-bottom: 0.3rem;
}

/* Hover Effects */
.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-card:hover .gallery-caption {
  transform: translateY(0);
}

.gallery-card:hover img {
  transform: scale(1.1);
}

/* Button Styles */
.btn-primary {
  background-color: #3a7bd5;
  border-color: #3a7bd5;
  padding: 0.6rem 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #2c5fb3;
  border-color: #2c5fb3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(58, 123, 213, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .gallery-card {
    height: 180px;
  }
}

@media (max-width: 767.98px) {
  .section-header .section-title {
    font-size: 1.8rem;
  }

  .gallery-filter {
    gap: 5px;
  }

  .gallery-filter .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 575.98px) {
  .gallery-card {
    height: 160px;
  }

  .gallery-caption h5 {
    font-size: 1rem;
  }

  .gallery-caption p,
  .gallery-details {
    font-size: 0.75rem;
  }
}

/* About Section Styles */
.about-section {
  background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.section-badge {
  display: inline-block;
  background-color: #3a7bd5;
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.section-title {
  font-weight: 700;
  color: #2c3e50;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: #6c757d;
  font-size: 1.1rem;
  max-width: 700px;
}

.divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #3a7bd5, #198754);
}

/* History Section */
.about-history-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: all 0.3s ease;
}

.about-history-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.card-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
}

.card-header h2 {
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0;
  font-size: 1.5rem;
}

.history-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #3a7bd5, #198754);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-right: 1rem;
}

.timeline {
  position: relative;
  padding: 1.5rem;
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 0; /* Hapus padding kiri sebelumnya */
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-content {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 3px solid #3a7bd5;
  width: 100%;
  margin-bottom: 1rem;
}

.timeline-item:last-child .timeline-content {
  margin-bottom: 0;
}

.timeline-content h4 {
  color: #3a7bd5;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: #6c757d;
  margin-bottom: 0;
}

/* Visi Card */
.vision-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: all 0.3s ease;
}

.vision-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.vision-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #198754, #3a7bd5);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-right: 1rem;
}

.vision-content {
  padding: 2rem;
  text-align: center;
  position: relative;
}

.quote-icon {
  color: rgba(58, 123, 213, 0.2);
  font-size: 2rem;
  margin: 0.5rem 0;
}

.vision-text {
  font-size: 1.2rem;
  font-weight: 500;
  font-style: italic;
  color: #2c3e50;
  line-height: 1.6;
  margin: 1rem 0;
}

/* Misi Card */
.mission-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: all 0.3s ease;
}

.mission-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.mission-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #3a7bd5, #198754);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-right: 1rem;
}

.mission-list {
  list-style: none;
  padding: 0 1.5rem 1.5rem;
  margin: 0;
}

.mission-list li {
  display: flex;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.mission-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.mission-number {
  width: 30px;
  height: 30px;
  background-color: #3a7bd5;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.mission-text {
  color: #6c757d;
  padding-top: 3px;
}

/* Goals Section */
.goals-section {
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  margin-top: 2rem;
  transition: all 0.3s ease;
}

.goals-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.goals-section .section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.goals-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #3a7bd5, #198754);
  color: white;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1rem;
}

.goals-section h2 {
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.goals-section p {
  color: #6c757d;
  max-width: 700px;
  margin: 0 auto;
}

.goals-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.goal-item {
  display: flex;
  background: #f8f9fa;
  border-radius: 8px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.goal-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.goal-number {
  width: 40px;
  height: 40px;
  background-color: #3a7bd5;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.1rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.goal-content h4 {
  color: #3a7bd5;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.goal-content p {
  color: #6c757d;
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .section-title {
    font-size: 2rem;
  }

  .goals-container {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 767.98px) {
  .about-image-container {
    min-height: 250px;
  }

 
}

@media (max-width: 575.98px) {
  .section-title {
    font-size: 1.8rem;
  }

  .card-header h2 {
    font-size: 1.3rem;
  }

  .history-icon,
  .vision-icon,
  .mission-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .goals-container {
    grid-template-columns: 1fr;
  }
}

/* CTA Section Modern */
.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.cta-section::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

/* Responsive Adjustments */
@media (max-width: 1199.98px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 991.98px) {
  .hero-section {
    min-height: 600px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    min-height: 500px;
    text-align: center;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .about-content {
    padding-left: 0 !important;
    margin-top: 2rem;
  }
}

@media (max-width: 575.98px) {
  .hero-section {
    min-height: 450px;
  }

  .info-card {
    margin-bottom: 1rem;
  }

  .cta-section .btn {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
  }

  .cta-section .btn:last-child {
    margin-bottom: 0;
  }
}

/* Jurusan Accordion Styles */
.jurusan-accordion {
  transition: all 0.3s ease;
}

.jurusan-accordion .card-header {
  cursor: pointer;
  transition: all 0.3s ease;
}

.jurusan-accordion .card-header:hover {
  background-color: var(--primary-light);
}

.jurusan-accordion .card-header i {
  transition: transform 0.3s ease;
}

.jurusan-accordion .card-header[aria-expanded="true"] i {
  transform: rotate(180deg);
}

/* Alert Info Styles */
.alert-info {
  background-color: rgba(13, 110, 253, 0.1);
  border-color: rgba(13, 110, 253, 0.2);
  color: #0d6efd;
}

/* Badge Styles */
.badge {
  font-weight: 500;
  padding: 0.35em 0.65em;
}

/* Responsive Adjustments for Jurusan Page */
@media (max-width: 767.98px) {
  .jurusan-accordion .card-body .row {
    flex-direction: column;
  }

  .jurusan-accordion .card-body img {
    margin-bottom: 1rem;
    width: 100%;
  }
}

/* Back to Top Button */
.btn-back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.btn-back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* Footer 3 Kolom Styles */
.footer {
  position: relative;
  overflow: hidden;
  background: #212529;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #212529;
}

.footer h5 {
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.5rem;
  color: #198754;
}

.footer h5::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: currentColor;
}

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.contact-list a {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-list a:hover {
  color: #198754 !important;
}

.contact-list i {
  width: 20px;
  text-align: center;
  color: #198754;
}

.footer-newsletter .form-control {
  background: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 0.9rem;
}

.footer-newsletter .form-control:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: #198754;
  box-shadow: 0 0 0 0.25rem rgba(0, 210, 255, 0.25);
}

.footer-newsletter .btn {
  background: #198754;
  border: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.footer-newsletter .btn:hover {
  background: #198754;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: #198754;
  transform: translateY(-3px);
  color: white !important;
}

.form-check-input:checked {
  background-color: #198754;
  border-color: #198754;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .footer .col-lg-4 {
    margin-bottom: 2rem;
  }

  .footer h5::after {
    width: 30px;
  }
}

@media (max-width: 767.98px) {
  .footer .text-md-start,
  .footer .text-md-end {
    text-align: center !important;
  }

  .social-icons {
    justify-content: center !important;
  }

}


/* Beranda Hero Section */
/* Responsive adjustments */
    @media (max-width: 991.98px) {
        .about-content {
            padding-left: 0 !important;
            margin-top: 2rem;
        }
        .section-subtitle {
            margin-left: auto;
            margin-right: auto;
        }
        .section-title {
            text-align: center;
        }
        .feature-item {
            justify-content: center;
        }
    }
    
    @media (min-width: 992px) {
        .ps-lg-5 {
            padding-left: 3rem !important;
        }
    }


    .feature-item {
        transition: all 0.3s ease;
    }
    
    .feature-icon i {
        font-size: 1.2rem;
    }
    
    @media (max-width: 767.98px) {
        .feature-item {
            align-items: center;
            padding: 0.5rem;
            border-radius: 8px;
            background-color: rgba(25, 135, 84, 0.05);
            margin-bottom: 1rem !important;
        }
        
        .feature-icon {
            margin-right: 0 !important;
            margin-bottom: 0.5rem;
        }
    }

