/* ==========================================================================
   INTERNATIONAL AUDITS HERO SECTION (International-Audits.css)
   ========================================================================== */

.audit-hero-section {
  padding: 1.5rem 0 2rem 0;
  width: 100%;
  background-color: #ffffff;
}

.audit-hero-card {
  background-color: #ffffff;
  background-image: url('../image/audit/audit-hero-image.png');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 410px;
  padding: 3rem 4.5rem;
  width: 100%;
  box-shadow: 0 12px 36px rgba(0, 46, 132, 0.05);
  border: 1px solid rgba(0, 46, 132, 0.08);
  position: relative;
  overflow: hidden;
}

.audit-hero-content {
  max-width: 48%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 4;
  position: relative;
  margin-top: -1.5rem; /* Center/shift text slightly upwards */
}

/* Breadcrumb Styles inside Card */
.audit-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.audit-breadcrumb-link {
  color: #2563eb;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.audit-breadcrumb-link svg {
  width: 18px;
  height: 18px;
}

.audit-breadcrumb-link:hover {
  opacity: 0.8;
}

.audit-breadcrumb-sep {
  font-size: 0.9rem;
  color: #2563eb;
  font-weight: 500;
  font-family: var(--font-secondary), sans-serif;
}

.audit-breadcrumb-current {
  font-family: var(--font-secondary), sans-serif;
  font-size: 0.9rem;
  color: #2563eb;
  font-weight: 600;
}

.audit-hero-title {
  font-family: var(--font-primary), sans-serif;
  font-size: 2.65rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 1.25rem 0;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.audit-hero-title .title-accent {
  color: #2563eb;
}

.audit-hero-desc {
  font-family: var(--font-secondary), sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.6;
  color: #475569;
  margin: 0;
  max-width: 440px;
}

.audit-hero-desc strong {
  display: block;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .audit-hero-card {
    padding: 2.5rem 3rem;
  }
  .audit-hero-title {
    font-size: 2.3rem;
  }
}

@media (max-width: 992px) {
  .audit-hero-card {
    min-height: auto;
    padding: 2.5rem 2rem;
    background-position: 75% center;
  }
  .audit-hero-content {
    max-width: 60%;
  }
}

@media (max-width: 768px) {
  .audit-hero-card {
    background-image: none !important;
    background: #f8fafc !important;
    padding: 2.5rem 1.5rem;
    min-height: auto;
    border: 1px solid rgba(0, 46, 132, 0.08);
  }
  
  .audit-hero-content {
    max-width: 100%;
    margin-top: 0;
  }
  
  .audit-hero-title {
    font-size: 2rem;
  }
  
  .audit-hero-desc {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .audit-hero-title {
    font-size: 1.75rem;
  }
}

/* ==========================================================================
   AUDITS STATS SECTION
   ========================================================================== */

.audit-stats-section {
  padding: 3rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  width: 100%;
  position: relative;
  overflow: hidden;
}

/* Watermark styles (World map shape or clean grid overlays) */
.audit-stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.03;
  pointer-events: none;
  background-image: radial-gradient(#2563eb 1.5px, transparent 1.5px);
  background-size: 20px 20px;
}

.audit-stats-header {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  display: block;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

.audit-stats-header .stats-subtitle-tag {
  font-family: var(--font-secondary), sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #2563eb;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.audit-stats-header .stats-main-title {
  font-family: var(--font-primary), sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 1rem 0;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.audit-stats-header .stats-main-title .title-accent {
  color: #2563eb;
}

.audit-stats-header .title-underline {
  width: 50px;
  height: 3px;
  background-color: #2563eb;
  margin: 0 auto 1.5rem auto;
  border-radius: 2px;
}

.audit-stats-header .stats-desc {
  font-family: var(--font-secondary), sans-serif;
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 650px;
}

/* Stats Grid */
.audit-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  width: 100%;
  position: relative;
  z-index: 2;
}

/* Stat Card */
.audit-stat-card {
  background: #ffffff;
  border: 1px solid rgba(0, 46, 132, 0.05);
  border-radius: 16px;
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 6px 20px rgba(0, 46, 132, 0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.audit-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 46, 132, 0.06);
  border-color: rgba(37, 99, 235, 0.1);
}

.audit-stat-card .stat-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #eff6ff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.35rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.audit-stat-card:hover .stat-icon-circle {
  background: #2563eb;
  color: #ffffff;
}

.audit-stat-card .stat-card-divider {
  width: 1px;
  height: 45px;
  background-color: #e2e8f0;
  flex-shrink: 0;
}

.audit-stat-card .stat-card-text {
  display: flex;
  flex-direction: column;
}

.audit-stat-card .stat-card-text h3 {
  font-family: var(--font-primary), sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #2563eb;
  margin: 0 0 0.15rem 0;
  line-height: 1.15;
}

.audit-stat-card .stat-card-text h4 {
  font-family: var(--font-secondary), sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #334155;
  margin: 0;
  line-height: 1.2;
}

.audit-stat-card .stat-card-text p {
  font-family: var(--font-secondary), sans-serif;
  font-size: 0.775rem;
  color: #64748b;
  margin: 0;
  line-height: 1.2;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .audit-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 576px) {
  .audit-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .audit-stats-header .stats-main-title {
    font-size: 2rem;
  }
  .audit-stat-card {
    padding: 0.75rem;
    gap: 0.5rem;
    border-radius: 12px;
  }
  .audit-stat-card .stat-icon-circle {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  .audit-stat-card .stat-card-divider {
    height: 30px;
  }
  .audit-stat-card .stat-card-text h3 {
    font-size: 1.1rem;
  }
  .audit-stat-card .stat-card-text h4 {
    font-size: 0.7rem;
  }
  .audit-stat-card .stat-card-text p {
    font-size: 0.65rem;
  }
}

/* ==========================================================================
   RECENT INTERNATIONAL AUDITS SECTION
   ========================================================================== */

.recent-audits-section {
  padding: 2rem 0;
  background-color: #f8fafc;
  width: 100%;
}

.recent-audits-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
  width: 100%;
}

.recent-audits-header .header-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.audits-section-eyebrow {
  font-family: var(--font-secondary), sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #2563eb;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-transform: uppercase;
}

.audits-section-eyebrow i {
  font-size: 0.65rem;
}

.recent-audits-header .audits-main-title {
  font-family: var(--font-primary), sans-serif;
  font-size: 2.3rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.recent-audits-header .audits-main-title .title-accent {
  color: #2563eb;
}

/* View All Audits Outline Button */
.view-all-audits-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 30px;
  padding: 0.6rem 1.25rem;
  font-family: var(--font-secondary), sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #2563eb;
  transition: all 0.25s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.view-all-audits-btn:hover {
  border-color: #2563eb;
  background-color: #eff6ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.08);
}

.view-all-audits-btn i {
  font-size: 0.8rem;
  transition: transform 0.25s ease;
}

.view-all-audits-btn:hover i {
  transform: translateX(3px);
}

/* Audits Grid */
.audit-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 4rem;
  width: 100%;
}

/* Audit Card */
.audit-card {
  background: #ffffff;
  border: 1px solid rgba(0, 46, 132, 0.05);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 46, 132, 0.015);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.audit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 46, 132, 0.07);
  background-color: #f8fafc;
  border-color: rgba(37, 99, 235, 0.15);
}

/* Card Image & Badge overlay */
.audit-card-image-wrapper {
  width: 100%;
  height: 220px;
  position: relative;
  overflow: hidden;
  background-color: #f1f5f9;
}

.audit-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.audit-card:hover .audit-card-img {
  transform: scale(1.04);
}

.audit-country-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: #ffffff;
  border-radius: 30px;
  padding: 0.4rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.02);
  z-index: 3;
}

.audit-country-badge .country-flag {
  font-size: 1.15rem;
  line-height: 1;
  display: inline-block;
}

.audit-country-badge .country-name {
  font-family: var(--font-secondary), sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f172a;
}

/* Card Body */
.audit-card-body {
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  gap: 1.5rem;
}

.audit-check-row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.audit-check-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eff6ff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.audit-card-text {
  font-family: var(--font-secondary), sans-serif;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}

.audit-card-text strong {
  font-weight: 700;
  color: #0f172a;
}

.audit-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-secondary), sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
  background-color: transparent;
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 30px;
  padding: 0.5rem 1.15rem;
  width: fit-content;
  transition: all 0.25s ease;
}

.audit-card-link:hover {
  background-color: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.audit-card-link i {
  font-size: 0.75rem;
  transition: transform 0.25s ease;
}

.audit-card-link:hover i {
  transform: translateX(2px);
}

/* Empty State */
.audit-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.audit-empty-state i {
  font-size: 3rem;
  color: #cbd5e1;
}

.audit-empty-state p {
  font-family: var(--font-secondary), sans-serif;
  font-size: 0.95rem;
  color: #64748b;
  margin: 0;
}

/* Lazy Load Button — centered below the audit cards grid */
.audit-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: -1.5rem;
  margin-bottom: 3rem;
}

.btn-audit-load-more {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: #ffffff;
  color: #2563eb;
  border: 1.5px solid rgba(37, 99, 235, 0.35);
  border-radius: 50px;
  padding: 0.75rem 2.4rem;
  font-family: var(--font-secondary), sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.06);
}

.btn-audit-load-more i {
  font-size: 0.8rem;
  transition: transform 0.25s ease;
}

.btn-audit-load-more:hover {
  background-color: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25);
  transform: translateY(-2px);
}

.btn-audit-load-more:hover i {
  transform: translateY(2px);
}

.btn-audit-load-more:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}

/* Loading spinner shown on the Load More button while the AJAX
   request is in flight (toggled via the .is-loading class in JS) */
.btn-audit-load-more .btn-spinner {
  display: none;
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  opacity: 0.85;
  animation: audit-spinner-spin 0.7s linear infinite;
}

.btn-audit-load-more.is-loading .btn-spinner {
  display: inline-block;
}

.btn-audit-load-more.is-loading .btn-chevron {
  display: none;
}

@keyframes audit-spinner-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Global Presence bottom banner styling */
.audit-cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #e6f0fa;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: 1rem 2.5rem;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.04);
  margin: 2rem auto 0 auto;
  max-width: 1000px;
  width: 100%;
}

.audit-cta-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.audit-cta-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #cfdff3;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.35rem;
}

.audit-cta-info h3 {
  font-family: var(--font-primary), sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 0.25rem 0;
}

.audit-cta-info p {
  font-family: var(--font-secondary), sans-serif;
  font-size: 0.85rem;
  color: #64748b;
  margin: 0;
}

.audit-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #2563eb;
  color: #ffffff;
  font-family: var(--font-secondary), sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  padding: 0.65rem 1.25rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.audit-cta-btn:hover {
  background-color: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(37, 99, 235, 0.25);
}

.audit-cta-btn .btn-arrow-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #ffffff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.audit-cta-btn:hover .btn-arrow-circle {
  transform: scale(1.05);
}

.audit-cta-btn .btn-arrow-circle i {
  font-size: 0.75rem;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .audit-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .recent-audits-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  
  .recent-audits-header .audits-main-title {
    font-size: 1.85rem;
  }
  
  .audit-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  
  .audit-cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }
  
  .audit-cta-left {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 576px) {
  .audit-cards-grid {
    grid-template-columns: 1fr;
  }
  
  .audit-card-image-wrapper {
    height: 180px;
  }
  
  .audit-card-body {
    padding: 1.25rem 1.5rem;
  }
}

/* ==========================================================================
   AUDITS MODAL POPUP
   ========================================================================== */

.audit-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.audit-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.audit-modal-box {
  background-color: #ffffff;
  border-radius: 24px;
  width: 90%;
  max-width: 500px;
  padding: 2.25rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.audit-modal-overlay.active .audit-modal-box {
  transform: scale(1);
}

.audit-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #f1f5f9;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.audit-modal-close:hover {
  background-color: #2563eb;
  color: #ffffff;
  transform: rotate(90deg);
}

.audit-modal-close i {
  font-size: 0.85rem;
}

.audit-modal-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 1rem;
}

.audit-modal-header .modal-flag {
  font-size: 1.75rem;
  line-height: 1;
}

.audit-modal-header .modal-country {
  font-family: var(--font-primary), sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.audit-modal-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.modal-image-container {
  width: 100%;
  height: 200px;
  border-radius: 14px;
  overflow: hidden;
  background-color: #f1f5f9;
}

.modal-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-description {
  font-family: var(--font-secondary), sans-serif;
  font-size: 0.925rem;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}

.modal-description strong {
  color: #2563eb;
  font-weight: 700;
}

.country-flag-img {
  width: 21px;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  display: block;
  object-fit: contain;
}


.audit-modal-header .country-flag-img {
  width: 28px;
  border-radius: 3px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}
