/* ================= AUDIT PAGE STYLES ================= */

/* ============================================
   AUDIT HERO SECTION
   ============================================ */
.audit-hero {
  padding: 50px 0;
  color: #ffffff;
}

.audit-hero-grid {
  display: grid;
  grid-template-columns: 1fr 450px;
  gap: 40px;
  align-items: center;
}

.audit-hero-content h1 {
  color: #ffffff;
  font-size: 38px;
  line-height: 1.3;
  margin-bottom: 18px;
  font-weight: 700;
}

.audit-hero-content p {
  color: #ffffff;
  opacity: 0.9;
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.7;
}

/* ============================================
   AUDIT HERO FORM
   ============================================ */
.audit-hero-form-box {
  background: #ffffff;
  padding: 22px 24px;
  border-radius: 10px;
  color: #1c1c2b;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.audit-hero-form-box h3 {
  margin-bottom: 14px;
  font-size: 19px;
  font-weight: 600;
  text-align: center;
  color: #101f4b;
}

.audit-hero-form-box form {
  display: flex;
  flex-direction: column;
}

.audit-form-row {
  margin-bottom: 10px;
  width: 100%;
}

.audit-form-row-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.audit-hero-form-box input,
.audit-hero-form-box select,
.audit-hero-form-box textarea {
  width: 100%;
  padding: 9px 13px;
  margin-bottom: 0;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  font-family: inherit;
  font-size: 13.5px;
  background-color: #ffffff;
  color: #1c1c2b;
  box-sizing: border-box;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.audit-hero-form-box select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%2364748b' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
  cursor: pointer;
}

.audit-hero-form-box select:invalid {
  color: #000000;
}

.audit-hero-form-box textarea {
  resize: vertical;
  min-height: 60px;
}

.audit-hero-form-box input:focus,
.audit-hero-form-box select:focus,
.audit-hero-form-box textarea:focus {
  outline: none;
  border-color: #2952e3;
  box-shadow: 0 0 0 3px rgba(16, 31, 75, 0.08);
}

.audit-hero-form-box .audit-btn-full-width {
  width: 100%;
  padding: 11px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 5px;
  margin-top: 4px;
  cursor: pointer;
}

/* Form Alerts */
.audit-form-alert {
  padding: 12px 14px;
  border-radius: 6px;
  margin-bottom: 16px;
  font-size: 14px;
}

.audit-form-alert.audit-success {
  background: #d1fae5;
  color: #065f46;
}

.audit-form-alert.audit-error {
  background: #fee2e2;
  color: #991b1b;
}

/* ============================================
   AUDIT SPLIT SECTION
   ============================================ */
.audit-split-section {
  padding: 80px 0;
}

.audit-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.audit-split-grid img {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(16, 31, 75, 0.08);
  width: 100%;
  height: auto;
}

.audit-split-grid h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #1c1c2b;
  font-weight: 700;
  line-height: 1.3;
}

.audit-split-grid p {
  color: #6b7280;
  margin-bottom: 15px;
  font-size: 15px;
  line-height: 1.7;
}

/* ============================================
   AUDIT REPORTS GRID (5 Cards)
   ============================================ */
.audit-reports-section {
  padding: 80px 0;
}

.audit-reports-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
}

.audit-reports-header h2 {
  color: #101f4b;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.audit-reports-header h2 span {
  color: #2952e3;
}

.audit-reports-header p {
  color: #1c1c2b;
  font-size: 16px;
  line-height: 1.6;
}

.audit-reports-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  box-sizing: border-box;
  margin-bottom: 40px;
}

.audit-report-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 40px 30px;
  width: calc(33.333% - 20px);
  box-sizing: border-box;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  text-align: left;
}

.audit-report-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border-color: #4fa3e3;
}

.audit-report-card h4 {
  font-size: 18px;
  color: #101f4b;
  margin-bottom: 15px;
  font-weight: 600;
  border-bottom: 1px solid #eaeaea;
  padding-bottom: 12px;
}

.audit-report-card p {
  font-size: 14.5px;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   AUDIT CTA BANNER
   ============================================ */
.audit-cta-banner {
  background: linear-gradient(rgba(16, 31, 75, 0.92), rgba(16, 31, 75, 0.92)), 
              url('../assets/images/hero.png') center/cover no-repeat;
  padding: 80px 0;
  text-align: center;
}

.audit-cta-banner h2 {
  color: #ffffff;
  font-size: 32px;
  font-weight: 700;
  max-width: 900px;
  margin: 0 auto 25px;
  line-height: 1.35;
}

/* ============================================
   BUTTONS
   ============================================ */
.audit-btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-align: center;
  font-family: inherit;
  font-size: 14px;
  text-decoration: none;
}

.audit-btn-primary {
  background: #2952e3;
  color: #ffffff;
}

.audit-btn-primary:hover {
  background: #4fa3e3;
  color: #ffffff;
}

.audit-btn-outline {
  background: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
}

.audit-btn-outline:hover {
  background: #ffffff;
  color: #101f4b;
}

/* ============================================
   CONTAINER
   ============================================ */
.audit-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   TEXT UTILITIES
   ============================================ */
.audit-text-center {
  text-align: center;
}

/* ============================================
   SPINNER ANIMATION
   ============================================ */
.audit-btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: audit-spin 0.8s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}

@keyframes audit-spin {
  to { transform: rotate(360deg); }
}

.audit-btn:disabled {
  cursor: not-allowed;
  opacity: 0.75;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Tablets */
@media (max-width: 991px) {
  .audit-hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .audit-split-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .audit-reports-grid {
    gap: 20px;
  }

  .audit-report-card {
    width: calc(50% - 10px);
    padding: 30px 20px;
  }

  .audit-hero {
    padding: 40px 0;
  }

  .audit-hero-content h1 {
    font-size: 32px;
  }

  .audit-cta-banner {
    padding: 60px 0;
  }

  .audit-cta-banner h2 {
    font-size: 28px;
  }

  .audit-split-section {
    padding: 60px 0;
  }

  .audit-reports-section {
    padding: 60px 0;
  }
}

/* Mobile Phones */
@media (max-width: 768px) {
  .audit-hero {
    padding: 35px 0;
  }

  .audit-hero-form-box {
    padding: 18px 15px;
  }

  .audit-hero-form-box .audit-form-row-two-col {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .audit-hero-content h1 {
    font-size: 28px;
  }

  .audit-hero-content p {
    font-size: 14px;
  }

  .audit-split-grid h2 {
    font-size: 24px;
  }

  .audit-split-grid p {
    font-size: 14px;
  }

  .audit-split-section {
    padding: 50px 0;
  }

  .audit-reports-section {
    padding: 50px 0;
  }

  .audit-reports-header h2 {
    font-size: 22px;
  }

  .audit-reports-header p {
    font-size: 14px;
  }

  .audit-report-card {
    padding: 24px 18px;
  }

  .audit-report-card h4 {
    font-size: 16px;
  }

  .audit-report-card p {
    font-size: 13.5px;
  }

  .audit-cta-banner {
    padding: 50px 0;
  }

  .audit-cta-banner h2 {
    font-size: 24px;
  }

  .audit-btn {
    padding: 12px 28px;
    font-size: 13px;
  }

  .audit-container {
    padding: 0 15px;
  }
}

/* Small Mobile Phones */
@media (max-width: 767px) {
  .audit-reports-grid {
    gap: 16px;
  }

  .audit-report-card {
    width: 100%;
    padding: 24px 18px;
  }
}

@media (max-width: 480px) {
  .audit-hero {
    padding: 30px 0;
  }

  .audit-hero-content h1 {
    font-size: 24px;
  }

  .audit-hero-form-box h3 {
    font-size: 17px;
  }

  .audit-hero-form-box input,
  .audit-hero-form-box select,
  .audit-hero-form-box textarea {
    font-size: 13px;
    padding: 8px 11px;
  }

  .audit-split-grid h2 {
    font-size: 22px;
  }

  .audit-reports-header h2 {
    font-size: 20px;
  }

  .audit-cta-banner h2 {
    font-size: 20px;
  }

  .audit-cta-banner {
    padding: 40px 0;
  }

  .audit-container {
    padding: 0 12px;
  }

  .audit-report-card {
    padding: 20px 16px;
  }

  .audit-btn {
    padding: 10px 24px;
    font-size: 13px;
    width: 100%;
  }
}