/* ===== GLOBAL STYLES ===== */
  :root {
    --primary-color: #1a5f7a; /* Deep Islamic teal */
    --secondary-color: #57a6a1; /* Soothing turquoise */
    --accent-color: #ffc107; /* Golden yellow */
    --light-color: #f8f9fa;
    --dark-color: #2d3436;
    --text-color: #333;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    background-color: var(--light-color);
    line-height: 1.8;
    scroll-behavior: smooth;
  }
  
  .islamic-pattern {
    background-image: url('images/home/pattern.png');
    background-size: 250px;
    background-repeat: repeat;
    opacity: 0.08; /* lebih tampak tapi tetap soft */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    filter: grayscale(100%) brightness(1.2); /* BW + sedikit cerah */
    mix-blend-mode: multiply; /* menyatu dengan warna background */
    pointer-events: none; /* agar tidak mengganggu interaksi user */
  }  
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
  }
  
  .mih-section-title {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    font-weight: 700;
  }
  
  .mih-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
  }
  
  /* Base Button */
.btn {
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  text-align: center;
}

/* Shine Effect */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: 0.5s;
}

.btn:hover::before {
  left: 100%;
}

/* Primary Button */
.btn-primary {
  background-color: var(--accent-color, #ffc107);
  color: var(--primary-color, #1a5f7a);
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 193, 7, 0.4);
}

/* Outline Secondary */
.btn-outline-secondary {
  border: 2px solid white;
  color: white;
  background-color: transparent;
}

.btn-outline-secondary:hover {
  background-color: rgba(255,255,255,0.1);
  transform: translateY(-3px);
}

/* Dark Button */
.btn-dark {
  background-color: var(--primary-color, #1a5f7a);
  color: white;
}

.btn-dark:hover {
  background-color: #13485f;
  transform: translateY(-3px);
}

/* Outline Dark */
.btn-outline-dark {
  border: 2px solid var(--primary-color, #1a5f7a);
  color: var(--primary-color, #1a5f7a);
  background-color: transparent;
}

.btn-outline-dark:hover {
  background-color: rgba(26, 95, 122, 0.1);
}

/* Responsive: Smaller size and full width if needed */
@media (max-width: 768px) {
  .btn {
    padding: 0.65rem 1.5rem;
    font-size: 0.95rem;
  }

  .btn-block {
    display: block;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .btn {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
  }

  .btn-block {
    display: block;
    width: 100%;
  }
}
  
  /* ===== HERO SECTION ===== */
  .mih-hero-section {
    background: linear-gradient(rgba(26, 95, 122, 0.85), rgba(26, 95, 122, 0.85)), 
                url('/images/home/20250530_084207.webp') center/cover no-repeat;
    color: white;
    padding: 8rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  
  .mih-hero-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
  }
  
  .mih-hero-content {
    position: relative;
    z-index: 2;
  }
  
  .mih-hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    animation: fadeInUp 1s ease;
  }
  
  .mih-hero-subtitle {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
  }
  
  .mih-hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
  }
  
 /* ===== STATISTICS SECTION ===== */
.mih-statistics-section {
  padding: 6rem 1rem;
  background: radial-gradient(circle at top left, #fdfdfd, #f3f3f3);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.mih-statistics-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(90deg, var(--accent-color),var(--secondary-color)) ;
}


/* Efek partikel background */
.mih-statistics-section::after {
  content: "";
  position: absolute;
  width: 300%;
  height: 300%;
  top: -100%;
  left: -100%;
  background-image: radial-gradient(#cce7ff 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.15;
  animation: moveParticles 120s linear infinite;
  z-index: 0;
  pointer-events: none;
}

.mih-statistics-section::after {
  background-size: 60px 60px;
  opacity: 0.07;
  animation-direction: reverse;
}

@keyframes moveParticles {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(1500px, 1500px);
  }
}

/* Container Flex */
.row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

/* Statistic Card */
.mih-stat-item {
  flex: 1;
  min-width: 230px;
  max-width: 270px;
  padding: 2.5rem 2rem;
  text-align: center;
  background-color: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1s ease forwards;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

/* Staggered animation delay */
.mih-stat-item:nth-child(1) { animation-delay: 0.2s; }
.mih-stat-item:nth-child(2) { animation-delay: 0.4s; }
.mih-stat-item:nth-child(3) { animation-delay: 0.6s; }
.mih-stat-item:nth-child(4) { animation-delay: 0.8s; }

.mih-stat-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

/* FA Icon style */
.mih-stat-item i {
  font-size: 2.2rem;
  margin-bottom: 0.7rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.mih-stat-item:hover i {
  transform: scale(1.1) rotate(2deg);
}

/* Angka Besar */
.mih-stat-number {
  font-size: 3.6rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
  background: linear-gradient(135deg, #1a5f7a, #57a6a1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mih-stat-accreditation {
  font-size: 3.6rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
  background: linear-gradient(135deg, #ffc107, #f39c12);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Label */
.mih-stat-label {
  color: #555;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  margin-top: 0.3rem;
}

/* Fade In Up Animation */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .mih-stat-item {
    padding: 2rem 1.5rem;
  }

  .mih-stat-number,
  .mih-stat-accreditation {
    font-size: 2.8rem;
  }
}
  
  /* ===== PROFILE SECTION ===== */
  .mih-profile-section {
    padding: 5rem 0;
    background-color: var(--light-color);
    position: relative;
  }
  
  .mih-profile-description {
    max-width: 800px;
    font-size: 1.1rem;
    line-height: 1.9;
  }
  
/* ===== NEWS SECTION ===== */
.mih-news-section {
  padding: 5rem 1rem;
  background-color: #ffffff;
  position: relative;
}

.mih-news-section .mih-section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
}

.mih-news-section .mih-section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 0.5rem auto 0;
  border-radius: 3px;
}

/* Grid Container */
.mih-news-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

/* Card dengan ukuran responsif */
.mih-news-item {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%; /* Atur tinggi sesuai konten */
  width: 100%; /* Atur lebar sesuai kontainer */
  max-width: 300px; /* Tentukan lebar maksimal */
  border: 1px solid #eee;
}

.mih-news-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

/* Image */
.card-img-top {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
  transition: transform 0.3s ease;
}

.mih-news-item:hover .card-img-top {
  transform: scale(1.05);
}

/* Card Body */
.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Title & Text */
.card-title {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

.card-text {
  color: #4a4a4a;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Button in Card */
.card-body .btn {
  align-self: center;
  padding: 0.6rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  background-color: var(--primary-color);
  color: white;
  border: none;
  transition: background-color 0.3s ease, transform 0.2s;
  text-decoration: none;
}

.card-body .btn:hover {
  background-color: #164f68;
  transform: scale(1.05);
}

/* Tombol "Baca Berita Lainnya" */
.btn-news {
  margin-top: 60px;
  display: flex;
  justify-content: center;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .mih-news-section {
    padding: 4rem 1.5rem;
  }

  .mih-news-section .mih-section-title {
    font-size: 2rem;
  }

  .card-title {
    font-size: 1.1rem;
  }

  .card-text {
    font-size: 0.9rem;
  }

  .card-body .btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }
}

@media (max-width: 768px) {
  .mih-news-items {
    grid-template-columns: 1fr; /* full width on mobile */
    padding: 1rem 0;
  }

  .mih-news-section .mih-section-title {
    font-size: 1.8rem;
  }

  .card-img-top {
    height: 180px;
  }

  .btn-news a {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .mih-news-section {
    padding: 3rem 1rem;
  }

  .card-body {
    padding: 1rem;
  }

  .card-title {
    font-size: 1rem;
  }

  .card-text {
    font-size: 0.85rem;
  }

  .card-body .btn {
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
    text-align: center;
  }

  .btn-news a {
    font-size: 0.95rem;
    padding: 0.6rem 1.2rem;
  }
  .btn-news {
    margin-top: 60px;
  }
}
  /* Hanya sembunyikan berita ke-2 dan ke-3 di mobile */
  @media (max-width: 768px) {
    .hide-mobile {
      display: none !important;
    }
  }
  

  /* ===== PROGRAM SECTION ===== */
  .mih-program-section {
    padding: 5rem 0;
    background-color: var(--light-color);
  }
  
  .mih-program-items {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
  }
  
  .mih-program-item {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    padding: 2.5rem 2rem;
    background: white;
    border-radius: 10px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  
  .mih-program-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
  }
  
  .mih-program-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(26, 95, 122, 0.1);
  }
  
  .mih-program-item:hover::before {
    width: 10px;
  }
  
  .mih-program-icon {
    height: 80px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
  }
  
  .mih-program-item:hover .mih-program-icon {
    transform: scale(1.1);
  }
  
  .mih-program-title {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
  }
  
  .mih-program-description {
    color: #666;
  }
  
/* ===== TESTIMONIAL SECTION ===== */
.mih-testimonial-section {
  padding: 5rem 1rem;
  background: linear-gradient(rgba(26, 95, 122, 0.03), rgba(26, 95, 122, 0.03));
}

.mih-section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a5f7a;
  margin-bottom: 2rem;
  text-align: center;
}

.mih-testimonial-items {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
}

.mih-testimonial-item {
  flex: 1 1 300px;
  max-width: 350px;
  padding: 2rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mih-testimonial-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mih-testimonial-img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1rem auto;
  display: block;
  border: 3px solid var(--primary-color, #1a5f7a);
}

.mih-testimonial-item::before {
  content: '\f10d';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 15px;
  left: 20px;
  font-size: 4rem;
  color: rgba(26, 95, 122, 0.05);
  z-index: 0;
}

.mih-testimonial-text {
  font-style: italic;
  color: #555;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  transition: max-height 0.3s ease;
}

.mih-testimonial-text.truncate {
  max-height: 5.6em; /* Kira-kira 3 baris */
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* Efek untuk card yang memanjang */
.mih-testimonial-item.expanded .mih-testimonial-text {
  max-height: none; /* Biarkan teks memanjang */
  -webkit-line-clamp: unset;
}

.mih-testimonial-author {
  font-weight: 600;
  color: var(--primary-color, #1a5f7a);
  position: relative;
  padding-left: 25px;
}

.mih-testimonial-author::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 2px;
  background-color: var(--secondary-color, #f39c12);
}

.read-more-btn {
  margin-top: 1rem;
  background-color: transparent;
  border: none;
  color: var(--primary-color, #1a5f7a);
  cursor: pointer;
  font-weight: 600;
  transition: color 0.3s ease;
  text-transform: uppercase;
}

.read-more-btn:hover {
  color: var(--secondary-color, #f39c12);
}

/* Responsif untuk ukuran layar kecil */
@media (max-width: 767px) {
  .mih-testimonial-item {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 1.5rem;
  }

  .mih-section-title {
    font-size: 1.8rem;
  }

  .mih-testimonial-text {
    font-size: 0.95rem;
  }

  .mih-testimonial-author {
    font-size: 1rem;
  }

  .mih-testimonial-img {
    width: 80px;
    height: 80px;
  }
}

/* Card Responsive Layouts */
@media (max-width: 1024px) {
  .mih-testimonial-items {
    gap: 1.5rem;
  }
}

@media (min-width: 1025px) {
  .mih-testimonial-items {
    gap: 2rem;
  }
}

/* ===== FACILITIES SECTION ===== */
.mih-facilities-section {
  padding: 5rem 0;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.mih-section-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 2rem;
}

/* Gaya untuk Container Fasilitas */
.mih-facility-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  width: 100%;
  padding: 0 1rem;
}

.mih-facility-item {
  flex: 1 1 300px;
  padding: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin: 1rem;
}

.mih-facility-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.mih-facility-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  transition: all 0.4s ease;
}

.mih-facility-item:hover .mih-facility-image {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.mih-facility-title {
  color: var(--primary-color);
  margin: 1.5rem 0 1rem;
  font-weight: 600;
  font-size: 1.25rem;
}

.mih-facility-description {
  color: #666;
  font-size: 1rem;
}

/* Responsif */
@media (max-width: 992px) {
  .mih-section-title {
    font-size: 2rem;
  }

  .mih-facility-item {
    flex: 1 1 45%;
    max-width: 45%;
  }
}

@media (max-width: 768px) {
  .mih-facility-item {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .mih-facility-image {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .mih-section-title {
    font-size: 1.5rem;
  }

  .mih-facility-title {
    font-size: 1.1rem;
  }

  .mih-facility-description {
    font-size: 0.9rem;
  }

  .mih-facility-image {
    height: 180px;
  }

  .mih-modal-content {
    width: 95%;
  }
}
  
  /* ===== GALLERY SECTION ===== */
  .mih-gallery-section {
    padding: 5rem 0;
    background-color: var(--light-color);
  }
  
  .mih-gallery-items {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
  }
  
  .mih-gallery-item {
    flex: 1;
    min-width: 300px;
    max-width: 320px;
    overflow: hidden;
    aspect-ratio: 4/3;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
  }
  
  .mih-gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
  }
  
  .mih-gallery-button {
      margin-top: 30px;
      display: flex;
      justify-content: center;
  }
  
  .mih-gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  .mih-gallery-item:hover .mih-gallery-image {
    transform: scale(1.1);
  }
  
  .mih-gallery-label {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(26, 95, 122, 0.8));
    color: white;
    padding: 1.5rem 1rem 1rem;
    margin: 0;
    transform: translateY(100%);
    transition: transform 0.3s ease;
  }
  
  .mih-gallery-item:hover .mih-gallery-label {
    transform: translateY(0);
  }
  
/* ===== IMAGE MODAL (ENHANCED) ===== */
.mih-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.85); /* Lebih gelap untuk fokus */
  backdrop-filter: blur(10px);
  justify-content: center;
  align-items: center;
  padding: 2rem;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mih-modal.active {
  display: flex;
}

/* Modal image container */
.mih-modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--border-radius);
  overflow: hidden;
  background-color: #ffffff10; /* Sedikit transparan */
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Modal Image */
.mih-modal-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--border-radius, 12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

/* Hover zoom effect */
.mih-modal-image:hover {
  transform: scale(1.02);
}

/* Caption (optional) */
.mih-modal-caption {
  margin-top: 1rem;
  color: var(--text-light, #f1f5f9);
  font-size: 1rem;
  text-align: center;
  max-width: 90%;
  word-wrap: break-word;
  line-height: 1.5;
}

/* Close button */
.mih-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.75rem;
  color: var(--white, #ffffff);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1001;
}

.mih-modal-close:hover,
.mih-modal-close:focus {
  background: rgba(255, 255, 255, 0.15);
  color: var(--accent-color, #38bdf8);
  outline: none;
}

/* Modal responsiveness */
@media (max-width: 768px) {
  .mih-modal-caption {
    font-size: 0.9rem;
    margin-top: 0.75rem;
  }

  .mih-modal-close {
    width: 36px;
    height: 36px;
    font-size: 1.5rem;
    top: 0.75rem;
    right: 0.75rem;
  }
}

  /* ===== PPDB SECTION ===== */
  .mih-ppdb-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color), #0e3a4a);
    color: white;
    text-align: center;
    position: relative;
  }
  
  .mih-ppdb-section .mih-section-title {
    color: white;
  }
  
  .mih-ppdb-section .mih-section-title::after {
    background: linear-gradient(90deg, var(--accent-color), white);
  }
  
  .mih-ppdb-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2.5rem 0;
    flex-wrap: wrap;
  }
  
  .mih-ppdb-deadline {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
  }

  /* ===== ANIMATIONS ===== */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* ===== RESPONSIVE STYLES ===== */
  @media (max-width: 992px) {
    .mih-hero-title {
      font-size: 2.5rem;
    }
    
    .mih-hero-subtitle {
      font-size: 1.2rem;
    }
  }
  
  @media (max-width: 768px) {
    .mih-hero-title {
      font-size: 2rem;
    }
    
    .mih-hero-subtitle {
      font-size: 1.1rem;
    }
    
    .mih-hero-buttons {
      flex-direction: column;
      align-items: center;
      gap: 1rem;
    }
    
    .btn {
      width: 100%;
      max-width: 250px;
    }
  }
