/* ============================================================
   ISNM Premium Enhancement v3.0
   Enhances existing design system without changing institutional colors
   Adds polish, consistency, and premium feel across all public pages
   ============================================================ */

/* ── GLOBAL REFINEMENTS ── */
* {
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background: var(--isnm-white, #fff);
  min-height: 100vh;
}

::selection {
  background: rgba(255, 215, 0, 0.3);
  color: var(--isnm-primary, #1A237E);
}

/* ── PREMIUM SECTION SPACING ── */
section {
  position: relative;
}

section.py-5 {
  padding-top: 4.5rem !important;
  padding-bottom: 4.5rem !important;
}

@media (max-width: 768px) {
  section.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
}

/* ── ENHANCED SECTION HEADERS ── */
.section-title {
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
  margin-bottom: 1rem !important;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50% !important;
  transform: translateX(-50%);
  width: 50px;
  height: 4px;
  background: linear-gradient(90deg, #FFD700, #FFA000) !important;
  border-radius: 2px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-title:hover::after {
  width: 80px;
}

.section-subtitle {
  font-weight: 400;
  line-height: 1.8;
  max-width: 600px;
  margin: 0.5rem auto 0 !important;
}

/* ── PREMIUM TAGS / BADGES ── */
.tag {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 8px 22px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.tag-primary {
  background: rgba(26, 35, 126, 0.08);
  color: #1A237E;
  border: 1px solid rgba(26, 35, 126, 0.12);
}

.tag-gold {
  background: rgba(255, 215, 0, 0.12);
  color: #B8860B;
  border: 1px solid rgba(255, 215, 0, 0.25);
}

.tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* ── ENHANCED SECTION DIVIDER ── */
.section-divider {
  width: 50px;
  height: 4px;
  background: linear-gradient(90deg, #FFD700, #FFA000);
  border-radius: 2px;
  margin: 1rem auto;
  transition: width 0.4s ease;
}

.section-divider:hover {
  width: 80px;
}

.section-divider-center {
  margin-left: auto;
  margin-right: auto;
}

/* ── SECTION SEPARATOR (decorative between sections) ── */
.section-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.separator-line {
  display: inline-block;
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(26, 35, 126, 0.25), transparent);
}

.separator-diamond {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.12), rgba(255, 160, 0, 0.08));
  border: 1px solid rgba(255, 215, 0, 0.25);
  color: #B8860B;
  font-size: 0.65rem;
}

/* ── PREMIUM STAT CARDS ── */
.stat-card {
  background: var(--isnm-white, #fff);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1A237E, #3949AB);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  border-color: rgba(26, 35, 126, 0.1);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  background: linear-gradient(135deg, rgba(26, 35, 126, 0.1), rgba(26, 35, 126, 0.05));
  color: #1A237E;
  transition: all 0.3s ease;
}

.stat-card:hover .stat-card-icon {
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(26, 35, 126, 0.15);
}

.stat-card-icon.icon-green {
  background: linear-gradient(135deg, rgba(46, 125, 50, 0.1), rgba(46, 125, 50, 0.05));
  color: #2E7D32;
}

.stat-card-icon.icon-blue {
  background: linear-gradient(135deg, rgba(2, 119, 189, 0.1), rgba(2, 119, 189, 0.05));
  color: #0277BD;
}

.stat-card-icon.icon-gold {
  background: linear-gradient(135deg, rgba(255, 160, 0, 0.1), rgba(255, 160, 0, 0.05));
  color: #FFA000;
}

.stat-card .stat-number {
  font-family: var(--isnm-font-display, 'Playfair Display', serif);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--isnm-gray-800, #212529);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-card .stat-label {
  font-size: 0.9rem;
  color: var(--isnm-gray-500, #6C757D);
  font-weight: 500;
  margin: 0;
}

/* ── PREMIUM PROGRAM CARDS ── */
.program-card {
  background: var(--isnm-white, #fff);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(26, 35, 126, 0.1);
}

.program-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  background: linear-gradient(135deg, #1A237E, #3949AB);
  color: #FFD700;
  margin-bottom: 1.2rem;
  transition: all 0.3s ease;
}

.program-card:hover .program-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 24px rgba(26, 35, 126, 0.25);
}

.program-header {
  padding: 1.5rem 1.5rem 0;
}

.program-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--isnm-gray-800, #212529);
  margin-bottom: 0.5rem;
}

.program-duration {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--isnm-gray-500, #6C757D);
  background: var(--isnm-gray-100, #F1F3F5);
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 500;
}

.program-content {
  padding: 1rem 1.5rem;
  flex: 1;
}

.program-content p {
  color: var(--isnm-gray-600, #495057);
  font-size: 0.95rem;
  line-height: 1.7;
}

.requirements-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.requirements-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--isnm-gray-600, #495057);
  font-size: 0.9rem;
}

.requirements-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFD700, #FFA000);
}

.program-actions {
  padding: 0 1.5rem 1.5rem;
}

/* ── PREMIUM NEWS CARDS ── */
.news-card {
  background: var(--isnm-white, #fff);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.news-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-card-img {
  transform: scale(1.05);
}

.news-card-img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--isnm-gray-300, #DEE2E6);
}

.news-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card-body .date {
  font-size: 0.8rem;
  color: var(--isnm-gray-500, #6C757D);
  margin-bottom: 0.5rem;
}

.news-card-body h5 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.news-card-body h5 a {
  color: var(--isnm-gray-800, #212529);
  text-decoration: none;
  transition: color 0.3s ease;
}

.news-card-body h5 a:hover {
  color: #1A237E;
}

.news-card-body .excerpt {
  font-size: 0.9rem;
  color: var(--isnm-gray-500, #6C757D);
  line-height: 1.7;
  flex: 1;
}

.news-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.news-card-title a {
  color: var(--isnm-gray-800, #212529);
  text-decoration: none;
  transition: color 0.3s ease;
}

.news-card-title a:hover {
  color: #1A237E;
}

.news-card-excerpt {
  font-size: 0.9rem;
  color: var(--isnm-gray-500, #6C757D);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 0;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--isnm-gray-500, #6C757D);
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.news-card-meta .date,
.news-card-meta .author {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.news-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.75rem;
}

.news-card-category {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(26, 35, 126, 0.08);
  color: #1A237E;
}

.news-card-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1A237E;
  text-decoration: none;
  transition: all 0.3s ease;
}

.news-card-read-more:hover {
  color: #0D1259;
  gap: 0.55rem;
}

/* ── PREMIUM FACILITY CARDS ── */
.facility-card {
  background: var(--isnm-white, #fff);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  cursor: pointer;
  height: 100%;
}

.facility-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.facility-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  background: linear-gradient(135deg, rgba(26, 35, 126, 0.1), rgba(26, 35, 126, 0.05));
  color: #1A237E;
  transition: all 0.3s ease;
}

.facility-card:hover .facility-icon {
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(26, 35, 126, 0.15);
}

.facility-icon.icon-green {
  background: linear-gradient(135deg, rgba(46, 125, 50, 0.1), rgba(46, 125, 50, 0.05));
  color: #2E7D32;
}

.facility-icon.icon-blue {
  background: linear-gradient(135deg, rgba(2, 119, 189, 0.1), rgba(2, 119, 189, 0.05));
  color: #0277BD;
}

.facility-icon.icon-gold {
  background: linear-gradient(135deg, rgba(255, 160, 0, 0.1), rgba(255, 160, 0, 0.05));
  color: #FFA000;
}

.facility-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.facility-card p {
  font-size: 0.9rem;
  color: var(--isnm-gray-500, #6C757D);
  line-height: 1.7;
  margin: 0;
}

/* ── PREMIUM TESTIMONIAL CARDS ── */
.testimonial-card {
  background: var(--isnm-white, #fff);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 4rem;
  font-family: Georgia, serif;
  color: rgba(26, 35, 126, 0.06);
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.testimonial-rating {
  margin-bottom: 1rem;
}

.testimonial-rating i {
  color: #FFD700;
  font-size: 0.85rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--isnm-gray-600, #495057);
  line-height: 1.8;
  font-style: italic;
  flex: 1;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(26, 35, 126, 0.1), rgba(26, 35, 126, 0.05));
  color: #1A237E;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.author-avatar.icon-green {
  background: linear-gradient(135deg, rgba(46, 125, 50, 0.1), rgba(46, 125, 50, 0.05));
  color: #2E7D32;
}

.author-avatar.icon-blue {
  background: linear-gradient(135deg, rgba(2, 119, 189, 0.1), rgba(2, 119, 189, 0.05));
  color: #0277BD;
}

.testimonial-author h5 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--isnm-gray-500, #6C757D);
}

/* ── PREMIUM FEATURE CARDS (Why Choose) ── */
.feature-card {
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 215, 0, 0.15) !important;
  border-radius: 20px !important;
  padding: 2rem !important;
  text-align: center !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: pointer;
  height: 100%;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.feature-card:hover {
  transform: translateY(-8px) !important;
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 215, 0, 0.3) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2) !important;
}

.feature-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.8rem;
  background: linear-gradient(135deg, #FFD700, #FFA000);
  color: #3E2723;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.15);
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.3);
}

.feature-icon.icon-green {
  background: linear-gradient(135deg, #2ECC71, #27AE60);
}

.feature-icon.icon-blue {
  background: linear-gradient(135deg, #1E88E5, #1565C0);
}

.feature-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 0;
  flex-grow: 1;
}

.feature-card .btn-3d {
  margin-top: auto;
}

/* ── PREMIUM VM CARDS (Vision/Mission) ── */
.vm-card {
  background: var(--isnm-white, #fff);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  cursor: pointer;
  height: 100%;
}

.vm-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.vm-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 1rem;
}

.vm-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.vm-card p {
  font-size: 0.9rem;
  color: var(--isnm-gray-500, #6C757D);
  line-height: 1.7;
  margin: 0;
}

/* ── ABOUT SECTION ── */
.about-content {
  padding-right: 2rem;
}

.about-text {
  font-size: 1.05rem;
  color: var(--isnm-gray-600, #495057);
  line-height: 1.8;
}

/* ── EMPTY STATE ── */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--isnm-gray-100, #F1F3F5);
  border-radius: 16px;
}

.empty-state i {
  font-size: 3rem;
  color: var(--isnm-gray-300, #DEE2E6);
  margin-bottom: 1rem;
}

.empty-state h4 {
  font-size: 1.2rem;
  color: var(--isnm-gray-600, #495057);
  margin-bottom: 0.5rem;
}

.empty-state p {
  font-size: 0.9rem;
  color: var(--isnm-gray-500, #6C757D);
}

/* ── CTA SECTION ── */
.cta-section {
  background: linear-gradient(135deg, #1A237E 0%, #3949AB 50%, #283593 100%) !important;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 215, 0, 0.05);
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 215, 0, 0.03);
  pointer-events: none;
}

.cta-section h2 {
  color: #fff !important;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cta-section .lead {
  color: rgba(255, 255, 255, 0.9) !important;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.cta-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.03;
}

.cta-shape-1 {
  width: 300px;
  height: 300px;
  background: #FFD700;
  top: -100px;
  right: -50px;
}

.cta-shape-2 {
  width: 200px;
  height: 200px;
  background: #FFD700;
  bottom: -60px;
  left: -30px;
}

.cta-shape-3 {
  width: 150px;
  height: 150px;
  background: #FFD700;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ── PREMIUM FORMS ── */
.form-premium .form-control,
.form-premium .form-select {
  border: 2px solid var(--isnm-gray-200, #E9ECEF);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: var(--isnm-white, #fff);
}

.form-premium .form-control:focus,
.form-premium .form-select:focus {
  border-color: #1A237E;
  box-shadow: 0 0 0 4px rgba(26, 35, 126, 0.1);
  outline: none;
}

.form-premium .form-label {
  font-weight: 600;
  color: var(--isnm-gray-700, #343A40);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.form-premium textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* ── PREMIUM ALERTS ── */
.alert-success {
  background: linear-gradient(135deg, rgba(46, 125, 50, 0.08), rgba(46, 125, 50, 0.04));
  border: 1px solid rgba(46, 125, 50, 0.2);
  color: #1B5E20;
  border-radius: 12px;
}

.alert-danger {
  background: linear-gradient(135deg, rgba(198, 40, 40, 0.08), rgba(198, 40, 40, 0.04));
  border: 1px solid rgba(198, 40, 40, 0.2);
  color: #B71C1C;
  border-radius: 12px;
}

/* ── SCROLL ANIMATIONS ── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }

/* ── PREMIUM CONTACT CARDS ── */
.contact-card {
  background: var(--isnm-white, #fff);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  height: 100%;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.3rem;
  background: linear-gradient(135deg, rgba(26, 35, 126, 0.1), rgba(26, 35, 126, 0.05));
  color: #1A237E;
}

/* ── DONATION / OPPORTUNITY CARDS ── */
.donation-card,
.opportunity-card,
.benefit-card,
.vmv-card,
.member-card,
.project-card {
  background: var(--isnm-white, #fff);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  height: 100%;
}

.donation-card:hover,
.opportunity-card:hover,
.benefit-card:hover,
.vmv-card:hover,
.member-card:hover,
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

/* ── VALUE & PROGRAM ITEM HOVER ── */
.value-item,
.program-item {
  background: var(--isnm-white, #fff);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  height: 100%;
}

.value-item:hover,
.program-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

/* ── TIMELINE ENHANCEMENTS ── */
.timeline-entry {
  position: relative;
  padding: 2rem 0;
}

.timeline-year-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  background: linear-gradient(135deg, #1A237E, #3949AB);
  color: #FFD700;
}

.timeline-content-card {
  background: var(--isnm-white, #fff);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.timeline-content-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* ── ACHIEVEMENT CARDS ── */
.achievement-card {
  background: var(--isnm-white, #fff);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  height: 100%;
}

.achievement-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.achievement-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.3rem;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.05));
  color: #B8860B;
}

/* ── HOSPITAL CARDS ── */
.hospital-card {
  background: var(--isnm-white, #fff);
  border-radius: 12px;
  padding: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.hospital-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.hospital-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(46, 125, 50, 0.1), rgba(46, 125, 50, 0.05));
  color: #2E7D32;
  flex-shrink: 0;
}

/* ── PROCESS TIMELINE ── */
.process-timeline {
  position: relative;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
}

.timeline-marker {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1A237E, #3949AB);
  color: #FFD700;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.timeline-content {
  flex: 1;
}

.timeline-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--isnm-gray-500, #6C757D);
  margin: 0;
}

/* ── OBJECTIVE ITEMS ── */
.objective-item {
  background: var(--isnm-white, #fff);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  height: 100%;
}

.objective-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.objective-number {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #1A237E, #3949AB);
  color: #FFD700;
  margin-bottom: 1rem;
}

/* ── SLIDER ENHANCEMENTS ── */
.campus-slider {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.slider-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: #fff;
  border-radius: 0 0 16px 16px;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.slider-btn:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.prev-btn { left: 12px; }
.next-btn { right: 12px; }

.slider-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1rem;
}

.slider-indicators .indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--isnm-gray-300, #DEE2E6);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-indicators .indicator.active {
  background: #1A237E;
  transform: scale(1.2);
}

/* ── PAGE HEADER ── */
.page-header,
.hero-header {
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 5rem 0 4rem;
  overflow: hidden;
}

.page-header::before,
.hero-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(13, 22, 66, 0.9), rgba(26, 35, 126, 0.8));
}

.page-header .container,
.hero-header .container {
  position: relative;
  z-index: 1;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}

.page-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 500px;
}

@media (max-width: 768px) {
  .page-header,
  .hero-header {
    padding: 4rem 0 3rem;
  }
  
  .page-title {
    font-size: 1.8rem;
  }
}

/* ── BREADCRUMB ── */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
  margin: 0;
}

.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
  color: #FFD700;
}

.breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.9);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

/* ── PROGRESS BAR ── */
.progress {
  height: 10px;
  border-radius: 5px;
  background: var(--isnm-gray-200, #E9ECEF);
  overflow: hidden;
}

.progress-bar {
  background: linear-gradient(90deg, #1A237E, #3949AB);
  border-radius: 5px;
  transition: width 1s ease;
}

/* ── PREMIUM TABLE ── */
.table-premium {
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.table-premium thead {
  background: linear-gradient(135deg, #1A237E, #3949AB);
  color: #fff;
}

.table-premium th {
  padding: 14px 18px;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.table-premium td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--isnm-gray-100, #F1F3F5);
}

.table-premium tbody tr:hover {
  background: rgba(26, 35, 126, 0.02);
}

/* ── FLOATING DECORATIONS ── */
.decor-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.04;
  z-index: 0;
}

.decor-shape-1 {
  width: 250px;
  height: 250px;
  background: #FFD700;
  top: -60px;
  right: -40px;
}

.decor-shape-2 {
  width: 180px;
  height: 180px;
  background: #E65100;
  bottom: -40px;
  left: -30px;
}

.decor-shape-3 {
  width: 120px;
  height: 120px;
  background: #3949AB;
  top: 30%;
  left: 60%;
}

/* ── PRINT STYLES ── */
@media print {
  .isnm-navbar,
  .isnm-header,
  .hero-section,
  .cta-section,
  .footer,
  .isnm-footer,
  .back-to-top,
  .whatsapp-float {
    display: none !important;
  }
  
  body {
    color: #000;
    background: #fff;
  }
  
  .container {
    max-width: 100%;
  }
}

/* ── ACCESSIBILITY ── */
:focus-visible {
  outline: 3px solid rgba(26, 35, 126, 0.5);
  outline-offset: 2px;
  border-radius: 4px;
}

.btn-3d:focus-visible {
  outline: 3px solid #FFD700;
  outline-offset: 3px;
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }
  
  .stat-card:hover,
  .program-card:hover,
  .news-card:hover,
  .facility-card:hover,
  .feature-card:hover,
  .testimonial-card:hover {
    transform: none;
  }
}


/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — Premium Enhancement Mobile Fixes
   ══════════════════════════════════════════════════════════════ */

/* ── TABLET & BELOW (max-width: 768px) ── */
@media (max-width: 768px) {

  /* Card padding reduction */
  .stat-card {
    padding: 1.5rem 1rem !important;
    border-radius: 14px !important;
  }

  .stat-card .stat-number {
    font-size: 2rem !important;
  }

  .stat-card .stat-label {
    font-size: 0.82rem !important;
  }

  .program-card {
    border-radius: 14px !important;
  }

  .program-header {
    padding: 1.2rem 1.2rem 0 !important;
  }

  .program-content {
    padding: 0.8rem 1.2rem !important;
  }

  .program-actions {
    padding: 0 1.2rem 1.2rem !important;
  }

  .program-title {
    font-size: 1.1rem !important;
  }

  .program-content p {
    font-size: 0.88rem !important;
  }

  .program-icon {
    width: 60px !important;
    height: 60px !important;
    font-size: 1.5rem !important;
    border-radius: 16px !important;
  }

  .news-card {
    border-radius: 14px !important;
  }

  .news-card-img,
  .news-card-img-placeholder {
    height: 180px !important;
  }

  .news-card-body {
    padding: 1.2rem !important;
  }

  .news-card-body h5 {
    font-size: 1rem !important;
  }

  .news-card-title {
    font-size: 1rem !important;
  }

  .news-card-excerpt {
    font-size: 0.85rem !important;
  }

  .news-card-meta {
    font-size: 0.75rem !important;
  }

  .facility-card {
    padding: 1.5rem !important;
    border-radius: 14px !important;
  }

  .facility-icon {
    width: 56px !important;
    height: 56px !important;
    font-size: 1.3rem !important;
  }

  .facility-card h4 {
    font-size: 1rem !important;
  }

  .facility-card p {
    font-size: 0.85rem !important;
  }

  .testimonial-card {
    padding: 1.5rem !important;
    border-radius: 14px !important;
  }

  .testimonial-card::before {
    font-size: 3rem !important;
    top: 10px !important;
    right: 15px !important;
  }

  .testimonial-text {
    font-size: 0.88rem !important;
  }

  .testimonial-author h5 {
    font-size: 0.88rem !important;
  }

  .feature-card {
    padding: 1.5rem !important;
    border-radius: 16px !important;
  }

  .feature-icon {
    width: 60px !important;
    height: 60px !important;
    font-size: 1.5rem !important;
  }

  .feature-card h4 {
    font-size: 1.05rem !important;
  }

  .feature-card p {
    font-size: 0.85rem !important;
  }

  .vm-card {
    padding: 1.2rem !important;
    border-radius: 14px !important;
  }

  .vm-card h4 {
    font-size: 1rem !important;
  }

  .vm-card p {
    font-size: 0.85rem !important;
  }

  .contact-card {
    padding: 1.2rem !important;
  }

  .contact-icon {
    width: 48px !important;
    height: 48px !important;
    font-size: 1.1rem !important;
  }

  .donation-card,
  .opportunity-card,
  .benefit-card,
  .vmv-card,
  .member-card,
  .project-card {
    padding: 1.2rem !important;
    border-radius: 14px !important;
  }

  .value-item,
  .program-item {
    padding: 1.2rem !important;
    border-radius: 14px !important;
  }

  .objective-item {
    padding: 1.5rem !important;
  }

  .objective-number {
    width: 42px !important;
    height: 42px !important;
    font-size: 1.1rem !important;
  }

  .timeline-content-card {
    padding: 1.2rem !important;
    border-radius: 14px !important;
  }

  .achievement-card {
    padding: 1.2rem !important;
  }

  .achievement-icon {
    width: 48px !important;
    height: 48px !important;
    font-size: 1.1rem !important;
  }

  /* Process timeline stacking */
  .timeline-item {
    gap: 1rem !important;
    margin-bottom: 1.5rem !important;
  }

  .timeline-marker {
    width: 36px !important;
    height: 36px !important;
    font-size: 0.85rem !important;
  }

  .timeline-content h4 {
    font-size: 1rem !important;
  }

  .timeline-content p {
    font-size: 0.85rem !important;
  }

  /* CTA section */
  .cta-section {
    padding: 3rem 0 !important;
  }

  .cta-section h2 {
    font-size: 1.5rem !important;
  }

  .cta-section .lead {
    font-size: 0.9rem !important;
    margin-bottom: 1.5rem !important;
  }

  /* About section */
  .about-content {
    padding-right: 0 !important;
  }

  .about-text {
    font-size: 0.95rem !important;
  }

  /* Empty state */
  .empty-state {
    padding: 2.5rem 1.5rem !important;
  }

  /* Section headers */
  .section-title {
    font-size: 1.4rem !important;
  }

  .section-subtitle {
    font-size: 0.88rem !important;
  }

  /* Slider */
  .slide img {
    height: 250px !important;
  }

  .slide-caption {
    padding: 1rem !important;
  }

  .slider-btn {
    width: 36px !important;
    height: 36px !important;
  }

  /* Tags */
  .tag {
    padding: 6px 16px !important;
    font-size: 0.72rem !important;
  }

  /* Table premium */
  .table-premium th {
    padding: 10px 12px !important;
    font-size: 0.78rem !important;
  }

  .table-premium td {
    padding: 10px 12px !important;
    font-size: 0.82rem !important;
  }

  /* Requirements list */
  .requirements-list li {
    font-size: 0.85rem !important;
    padding: 0.4rem 0 0.4rem 1.2rem !important;
  }

  /* Timeline year badge */
  .timeline-year-badge {
    padding: 6px 14px !important;
    font-size: 0.78rem !important;
  }
}

/* ── SMALL PHONES (max-width: 480px) ── */
@media (max-width: 480px) {

  .stat-card .stat-number {
    font-size: 1.6rem !important;
  }

  .stat-card .stat-label {
    font-size: 0.75rem !important;
  }

  .stat-card-icon {
    width: 48px !important;
    height: 48px !important;
    font-size: 1.2rem !important;
    border-radius: 12px !important;
  }

  .program-title {
    font-size: 0.95rem !important;
  }

  .program-duration {
    font-size: 0.72rem !important;
    padding: 3px 10px !important;
  }

  .news-card-img,
  .news-card-img-placeholder {
    height: 150px !important;
  }

  .news-card-body {
    padding: 1rem !important;
  }

  .news-card-body h5 {
    font-size: 0.92rem !important;
  }

  .facility-card {
    padding: 1.2rem !important;
  }

  .testimonial-card {
    padding: 1.2rem !important;
  }

  .testimonial-text {
    font-size: 0.82rem !important;
  }

  .feature-card {
    padding: 1.2rem !important;
  }

  .feature-card h4 {
    font-size: 0.95rem !important;
  }

  .feature-card p {
    font-size: 0.8rem !important;
  }

  .cta-section h2 {
    font-size: 1.3rem !important;
  }

  .cta-section .lead {
    font-size: 0.82rem !important;
  }

  .section-title {
    font-size: 1.2rem !important;
  }

  .page-title {
    font-size: 1.4rem !important;
  }

  .page-subtitle {
    font-size: 0.85rem !important;
  }

  .slide img {
    height: 200px !important;
  }

  .empty-state {
    padding: 2rem 1rem !important;
  }

  .empty-state i {
    font-size: 2rem !important;
  }

  .timeline-marker {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.8rem !important;
  }

  .timeline-item {
    gap: 0.8rem !important;
  }
}

/* ── EXTRA SMALL (max-width: 360px) ── */
@media (max-width: 360px) {

  .stat-card {
    padding: 1rem 0.8rem !important;
  }

  .stat-card .stat-number {
    font-size: 1.4rem !important;
  }

  .program-header,
  .program-content,
  .program-actions {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .news-card-body {
    padding: 0.8rem !important;
  }

  .facility-card,
  .testimonial-card,
  .vm-card {
    padding: 1rem !important;
  }

  .feature-card {
    padding: 1rem !important;
  }

  .donation-card,
  .opportunity-card,
  .benefit-card,
  .vmv-card,
  .member-card,
  .project-card {
    padding: 1rem !important;
  }

  .value-item,
  .program-item {
    padding: 1rem !important;
  }

  .objective-item {
    padding: 1.2rem !important;
  }

  .contact-card {
    padding: 1rem !important;
  }

  .cta-section {
    padding: 2.5rem 0 !important;
  }

  .cta-section h2 {
    font-size: 1.15rem !important;
  }

  .section-title {
    font-size: 1.1rem !important;
  }

  .section-subtitle {
    font-size: 0.82rem !important;
  }

  .about-text {
    font-size: 0.9rem !important;
  }
}
