/* responsive overrides */
@media (max-width: 920px){
  .hero-card{ grid-template-columns:1fr; text-align:left; }
  .hero{ padding:2.2rem 1rem; min-height:520px; }
}
@media (max-width: 560px){
  .brand-logo{ width:52px;height:52px; font-size:1rem; }
  .hero{ min-height:620px; padding:2rem 1rem; }
}

@media (max-width: 992px) {
  .about-grid,
  .mv-grid,
  .why-grid,
  .stats-grid,
  .testimonial-slider {
    gap: 1.3rem;
  }
}

/* small tweaks for navbar icons and spacing */
@media (max-width: 768px){
  .navbar .brand-logo { width:52px; height:52px; }
  .topbar { font-size: .9rem; }
}
@media (max-width: 991px) {
  .about-grid,
  .mv-grid,
  .why-grid,
  .stats-grid,
  .testimonial-slider {
    grid-template-columns: 1fr;
  }
  .subpage-hero {
    padding: 4rem 0 2rem;
  }
  .subpage-hero h1 {
    font-size: 2rem;
  }
}
@media (max-width: 768px) {
  .section-title::after {
    width: 50px;
  }

  .mv-box,
  .why-card,
  .stat-box,
  .test-card {
    transform: none !important;
  }
}

/* Extra Enhancement – Hover shimmer effect (subtle) */
.why-card:hover::before,
.mv-box:hover::before,
.stat-box:hover::before,
.test-card:hover::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 100%
  );
  animation: shimmer 1s ease;
  border-radius: inherit;
}
@media (max-width: 768px) {
  .hero-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 28px;
  }

  .contact-box {
    margin-top: 24px;
  }
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

@media (min-width: 992px) {
  .image-wrapper {
    min-height: 480px; /* or 500px for a taller look */
  }
}
/* ----------abbout-us Responsive ---------- */

/* Responsive tweaks: ensure icons & headings remain compact on mobile */
@media (max-width: 768px) {
  .card-icon { font-size: 24px; margin-bottom: 10px; }
  .stat-icon i { font-size: 20px; }
  .subpage-hero.about-hero { padding: 4.5rem 0 3rem; }
  .about-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .testimonial-slider { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .stats-row {
    flex-direction: column;
    gap: 25px;
  }

  .separator {
    display: none;
  }
}
@media (max-width: 900px) {
  .service-card {
    flex: 1 1 45%;
  }
}

@media (max-width: 600px) {
  .service-card {
    flex: 1 1 100%;
  }
}

@media (max-width: 992px) {
  .department {
    flex-direction: column;
    text-align: center;
    margin: 40px 0;
  }

  .department:nth-child(even) {
    flex-direction: column;
  }

  .dept-img img {
    max-width: 90%;
  }

  .dept-content {
    width: 100%;
  }

  .dept-content h3 {
    font-size: 1.6rem;
    margin-top: 20px;
  }

  .dept-content p {
    font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  .dept-content h3 {
    font-size: 1.4rem;
  }

  .dept-content p {
    font-size: 0.9rem;
  }

  .btn.dept-btn {
    padding: 8px 18px;
    font-size: 0.9rem;
  }
}
/* Responsive */
@media (max-width: 768px) {
  .album-thumb img {
    height: 200px;
  }
}

/* Adjust layout for smaller screens */
  @media (max-width: 991px) {
    .facility-item {
      text-align: left;
    }

    .image-wrapper {
      min-height: 300px;
      margin-top: 20px;
    }
  }
@media (max-width: 768px) {
  .divider {
    display: none;
  }
}

  @media (max-width: 991px) {
    .album-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 600px) {
    .album-grid {
      grid-template-columns: 1fr;
    }
  }