/* ==========================================
   International Visa & Mobility Section Core
   ========================================== */
.intl-services-section {
  background-color: var(--bg-color); 
    padding: 8rem 4%;

   width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
}

/* Section Header Styling Matches Core Exactly */
.intl-services-main-header {
  text-align: center;
  max-width: 800px;
  margin-bottom: 4.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.intl-services-main-header .intl-header-tagline {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.75rem;
}

.intl-services-main-header h2 {
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.15;
  color: var(--text-dark);
  letter-spacing: -0.5px;
  margin-bottom: 1.2rem;
}

.intl-services-main-header h2 .intl-accent-weight {
  font-weight: 700;
}

.intl-header-line {
  width: 60px;
  height: 3px;
  background-color: var(--blob-green);
  border-radius: 2px;
}

/* Premium White Grid Structure */
.intl-premium-packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 2.5rem;
  width: 100%;
  max-width: 1250px;
  align-items: start;
}

/* Unified Premium Card Frame Architecture */
.intl-package-card {
  background-color: var(--white);
  border-radius: 24px; 
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Absolute Typography Overlay System */
.intl-package-image-box {
  position: relative;
  width: 100%;
  height: 340px;
  overflow: hidden;
}

.intl-package-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.intl-package-card:hover .intl-package-image-box img {
  transform: scale(1.05); 
}

.intl-card-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(2, 55, 93, 0.2) 20%, rgba(2, 55, 93, 0.95) 95%);
  pointer-events: none;
}

.intl-card-header-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2.2rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.intl-card-header-content h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  margin: 0;
}

/* Card Body Structural Setup */
.intl-package-card-body {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.intl-package-desc {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text-dark);
  opacity: 0.75;
  margin: 0 0 1.5rem 0;
}

/* Dynamic Meta Lists Accordion Base Layout */
.intl-meta-list-box {
  margin-bottom: 2rem;
}

.intl-meta-list-box h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}

/* Premium Row-Styled Checklist Framework */
.intl-package-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0;
  margin: 0;
}

.intl-package-bullets li {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dark);
  background-color: rgba(225, 237, 240, 0.3); 
  border-radius: 12px;
  padding: 0.9rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  line-height: 1.2;
  border: 1px solid rgba(2, 110, 129, 0.03);
}

.intl-package-bullets li i {
  color: var(--icon-color);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Suitability Pill Grid Configuration */
.intl-target-box {
  margin-top: auto;
  margin-bottom: 0;
}

.intl-pill-badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.intl-suitability-pill {
  background-color: rgba(2, 110, 129, 0.06);
  color: var(--text-muted);
  padding: 0.5rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
}

.intl-package-card:hover .intl-suitability-pill {
  background-color: rgba(2, 110, 129, 0.1);
  color: var(--text-dark);
}

/* Curtain Expansion Dynamic Configuration */
.intl-card-expandable-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s ease,
              transform 0.3s ease;
}

.intl-package-card.is-expanded .intl-card-expandable-content {
  max-height: 1000px; /* High boundary threshold maps accurate dynamic heights */
  opacity: 1;
  transform: translateY(0);
  margin-top: 1rem;
}

/* High-End Action Target Gradient Button */
.intl-btn-toggle {
  background: linear-gradient(135deg, var(--text-dark) 40%, var(--blob-green) 100%);
  color: var(--white);
  border: none;
  font-size: 0.98rem;
  font-weight: 500;
  padding: 1.1rem 2rem;
  border-radius: 50px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.8rem;
  font-family: 'Montserrat', sans-serif;
  width: 100%; 
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.intl-btn-toggle:hover {
  background: linear-gradient(135deg, var(--text-dark) 20%, var(--blob-tan) 100%);
}

.intl-btn-icon {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.intl-package-card.is-expanded .intl-btn-icon {
  transform: translateX(3px); 
}

/* --- Premium Featured Split View for Card 7 (Desktop Only) --- */
.intl-card-featured {
  grid-column: span 3;
  flex-direction: row; 
}

.intl-card-featured .intl-package-image-box {
  width: 40%;
  height: auto;
  min-height: 100%;
}

.intl-card-featured .intl-package-card-body {
  width: 60%;
  padding: 3rem;
}


/* ==========================================
   Responsive Viewport Management (Strict Sizes Locked)
   ========================================== */
@media (max-width: 1024px) {
  .intl-services-section {
    padding: 6rem 4%;
  }
  
  .intl-premium-packages-grid {
    grid-template-columns: repeat(2, 1fr); 
    gap: 2rem;
  }
  
  .intl-services-main-header h2 {
    font-size: 3.5rem; /* Checked: Size strictly preserved at full scale */
  }

  .intl-card-featured {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .intl-services-section {
    padding: 4rem 5%;
  }

  .intl-services-main-header {
    margin-bottom: 3rem;
  }

  .intl-premium-packages-grid {
    grid-template-columns: 1fr; 
    gap: 2rem;
  }

  .intl-services-main-header h2 {
    font-size: 3.5rem; /* Checked: Size strictly preserved at full scale */
  }
  
  .intl-package-card-body {
    padding: 1.8rem;
  }

  .intl-card-header-content h3 {
    font-size: 1.8rem; /* Checked: Size strictly preserved at full scale */
  }

  .intl-package-desc {
    font-size: 0.98rem; /* Checked: Size strictly preserved at full scale */
  }

  .intl-package-bullets li {
    font-size: 0.92rem; /* Checked: Size strictly preserved at full scale */
  }

  /* Structural Collapse Fallback Architecture for Card 7 (Pet Relocation) */
  .intl-card-featured {
    grid-column: span 1;
    flex-direction: column;
    height: auto !important;
  }

  .intl-card-featured .intl-package-image-box {
    width: 100% !important;
    height: 340px !important; 
    min-height: 340px !important;
  }

  .intl-card-featured .intl-package-card-body {
    width: 100% !important;
    padding: 1.8rem !important;
    height: auto !important;
  }
}