footer {
  background-color: var(--primary-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 24px 0 30px;
  margin-left: auto;
  margin-right: auto;
}
.footer-legal .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
}
.footer-legal .logo .logo-text {
  text-align: center;
}
.footer-legal .logo .logo-img-wrap {
  width: 56px;
  height: 56px;
}
.footer-legal .logo .logo-name {
  font-size: 22px;
}
.footer-legal .logo,
.footer-legal .logo .logo-name {
  color: var(--white);
}
.footer-legal .logo .logo-tagline {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
}
.footer-about-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
  margin: 0;
  position: relative;
  display: inline-block;
  padding: 0 22px;
}
.footer-about-title::after,
.footer-about-title::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 14px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
}
.footer-about-title::before {
  left: 0;
}
.footer-about-title::after {
  right: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: auto auto;
  gap: 50px;
  align-items: center;
  justify-content: center;
  justify-items: center;
  text-align: center;
  padding: 32px 0 16px;
}
.footer-legal {
  font-size: 14px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.5px;
  text-align: center;
}
.footer-legal p {
  margin: 0;
  text-align: left;
}
.footer-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-left: 180px;
}
.footer-qrs {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: flex-start;
}
.footer-qr {
  text-align: center;
}
.footer-qr-img {
  width: 120px;
  height: 120px;
  background-color: var(--white);
  padding: 7px;
  margin: 0 auto 12px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.footer-qr-img::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15),
    rgba(255, 255, 255, 0) 40%
  );
}
.footer-qr-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
.footer-qr:hover .footer-qr-img {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}
.footer-qr-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 1px;
}
.footer-hotline {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 1px;
  padding-top: 4px;
}
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 28px 0 12px;
  }
  .footer-legal {
    text-align: center;
  }
}
@media (max-width: 900px) {
  .footer-grid {
    gap: 32px;
  }
  .footer-qrs {
    justify-content: center;
  }
}
@media (max-width: 600px) {
  footer {
    padding: 48px 0 24px;
  }
  .footer-legal .logo .logo-img-wrap {
    width: 48px;
    height: 48px;
  }
  .footer-legal .logo .logo-name {
    font-size: 20px;
  }
  .footer-legal .logo {
    margin-bottom: 10px;
  }
  .footer-about-title {
    font-size: 18px;
    letter-spacing: 1.5px;
  }
  .footer-grid {
    gap: 28px;
    padding: 24px 0 8px;
  }
  .footer-legal {
    font-size: 13px;
    line-height: 1.9;
  }
  .footer-qrs {
    gap: 16px;
  }
  .footer-qr-img {
    width: 110px;
    height: 110px;
    padding: 6px;
  }
  .footer-hotline {
    font-size: 15px;
  }
}
.floating-sidebar {
  position: fixed;
  right: 25px;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}
.float-item {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--primary);
  font-size: 20px;
  border: 1px solid var(--border-color);
  position: relative;
}
.float-item:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: scale(1.05);
}
.float-item-accent {
  background-color: var(--primary);
  color: var(--white);
}
.float-item-accent:hover {
  background-color: var(--primary-dark);
}
.qr-popover {
  position: absolute;
  right: 65px;
  bottom: 0;
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  display: none;
  text-align: center;
  animation: 0.3s fadeIn;
}
.float-item:hover .qr-popover {
  display: block;
}
.popover-qr-img {
  width: 120px;
  height: 120px;
  background-color: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  margin-bottom: 5px;
}
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.modal.active {
  opacity: 1;
  pointer-events: auto;
}
.modal-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 500px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transform: scale(0.9);
  transition: transform 0.3s;
}
.modal.active .modal-card {
  transform: scale(1);
}
.modal-header {
  background-color: var(--primary);
  color: var(--white);
  padding: 25px;
  position: relative;
  text-align: center;
}
.modal-title {
  font-size: 20px;
  font-weight: 700;
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  border: none;
  background: 0 0;
}
.modal-close:hover {
  color: var(--white);
}
.modal-body {
  padding: 30px;
}
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: 0;
  transition: var(--transition);
}
.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(78, 101, 84, 0.15);
}
.modal-footer {
  padding: 0 30px 30px;
  text-align: center;
}
.modal-footer .btn {
  width: 100%;
}
@media (max-width: 1024px) {
  .cards-grid,
  .faculty-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cert-slide {
    flex: 0 0 calc(33.333% - 14px);
  }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    padding: 20px;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
  }
  .menu-toggle,
  .nav-links.active {
    display: flex;
  }
  .slide-title {
    font-size: 36px;
  }
  .slide-desc {
    font-size: 15px;
  }
  .cards-grid,
  .career-grid,
  .faculty-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .career-content-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .curriculum-panel-layout {
    flex-direction: column;
    align-items: stretch;
  }
  .curriculum-sidebar-image {
    flex: 0 0 auto;
    width: 100%;
    height: 250px;
    position: relative;
  }
  .cert-row-top {
    grid-template-columns: 1fr;
  }
  .cert-slide {
    flex: 0 0 calc(50% - 10px);
  }
  .hero-fixed-controls {
    left: 5%;
    bottom: 8%;
    width: 90%;
    flex-direction: column;
    gap: 10px;
  }
  .hero-fixed-controls .btn {
    width: 100%;
    padding: 12px;
  }
}
