/* PAC International - Under Construction Website */
/* Upload index.html and the assets folder to public_html */

:root {
  --primary: #0b3a67;
  --primary-dark: #072844;
  --secondary: #0f6aa8;
  --green: #4caf50;
  --gold: #f4b400;
  --white: #ffffff;
  --text: #1f2a37;
  --muted: #667085;
  --soft: #f4f8fb;
  --border: rgba(11, 58, 103, 0.12);
  --shadow: 0 24px 70px rgba(11, 58, 103, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1140px, 88%);
  margin: 0 auto;
}

.section {
  padding: 92px 0;
  position: relative;
}

.section.compact {
  padding: 68px 0;
}

.site-loader {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  z-index: 9999;
  display: grid;
  place-items: center;
  text-align: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.site-loader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-mark {
  width: 88px;
  height: 88px;
  border: 2px solid rgba(255,255,255,.25);
  border-top-color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  animation: spin 1.2s linear infinite;
}

.loader-mark span {
  animation: counterSpin 1.2s linear infinite;
  font-weight: 900;
}

.site-loader p {
  margin-top: 18px;
  font-weight: 700;
  letter-spacing: .5px;
}

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

@keyframes counterSpin {
  to { transform: rotate(-360deg); }
}

.main-header {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 16px 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,.9);
  border-bottom: 1px solid rgba(11, 58, 103, .08);
  backdrop-filter: blur(14px);
}

.brand img {
  width: 220px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 800;
  color: var(--primary);
}

.nav-links a {
  text-decoration: none;
  position: relative;
  font-size: 15px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  height: 3px;
  width: 0;
  background: var(--green);
  border-radius: 999px;
  transition: .25s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  background: white;
  border-radius: 14px;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary);
  margin: 5px auto;
  transition: .25s ease;
}

.hero {
  min-height: calc(100vh - 84px);
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 10% 10%, rgba(76, 175, 80, .18), transparent 30%),
    radial-gradient(circle at 90% 20%, rgba(15, 106, 168, .20), transparent 34%),
    linear-gradient(135deg, #f9fcff 0%, #eef6fb 52%, #ffffff 100%);
  overflow: hidden;
}

.hero-bg-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  opacity: .55;
  pointer-events: none;
}

.orb-one {
  width: 260px;
  height: 260px;
  background: rgba(76, 175, 80, .16);
  left: -80px;
  bottom: 70px;
}

.orb-two {
  width: 340px;
  height: 340px;
  background: rgba(15, 106, 168, .14);
  right: -120px;
  top: 130px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 50px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--secondary);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.25px;
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  background: var(--gold);
  border-radius: 999px;
}

h1 {
  color: var(--primary);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -1.8px;
  margin-bottom: 22px;
}

h2 {
  color: var(--primary);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

h3 {
  color: var(--primary);
}

.hero-text {
  font-size: 19px;
  color: #344054;
  max-width: 790px;
  margin-bottom: 30px;
}

.hero-actions,
.portal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  border: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 13px 20px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
  font-size: 15px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 16px 30px rgba(11, 58, 103, .22);
}

.btn-light,
.btn-outline {
  color: var(--primary);
  background: white;
  border: 1px solid var(--border);
}

.btn-outline {
  background: transparent;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.trust-row span,
.stakeholder-cloud span {
  padding: 9px 13px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(11,58,103,.10);
  border-radius: 999px;
  color: var(--primary);
  font-weight: 800;
  font-size: 14px;
}

.hero-card {
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 32px;
  padding: 26px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.logo-panel {
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  margin-bottom: 18px;
}

.status-card {
  background: var(--primary);
  color: white;
  border-radius: 22px;
  padding: 20px;
  margin-bottom: 18px;
}

.status-card div {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
}

.status-card p {
  color: rgba(255,255,255,.80);
}

.status-dot {
  width: 12px;
  height: 12px;
  background: var(--green);
  border-radius: 999px;
  box-shadow: 0 0 0 8px rgba(76,175,80,.16);
}

.progress-box {
  padding: 18px;
  background: white;
  border-radius: 20px;
  border: 1px solid var(--border);
}

.progress-label {
  display: flex;
  justify-content: space-between;
  color: var(--primary);
  font-weight: 900;
  margin-bottom: 10px;
}

.progress-track {
  height: 12px;
  background: #e9eff5;
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--green), var(--secondary));
  border-radius: 999px;
  transition: width 1.2s ease;
}

.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 36px;
  align-items: center;
}

.section-heading p {
  color: var(--muted);
  font-size: 17px;
}

.section-heading.center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 42px;
}

.text-card,
.portal-card,
.contact-form,
.service-card,
.stat {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(11,58,103,.08);
}

.text-card {
  padding: 30px;
  font-size: 18px;
  color: #344054;
}

.services-section {
  background: var(--soft);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  padding: 24px;
  min-height: 250px;
  transition: .25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(11,58,103,.10), rgba(76,175,80,.13));
  border: 1px solid rgba(11,58,103,.10);
  border-radius: 16px;
  color: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 900;
  margin-bottom: 18px;
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.service-card p {
  color: var(--muted);
  font-size: 15px;
}

.stats-section {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 58px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
  padding: 26px;
  text-align: center;
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.stat strong {
  display: block;
  color: white;
  font-size: 42px;
  line-height: 1;
  margin-bottom: 8px;
}

.stat span {
  color: rgba(255,255,255,.82);
  font-weight: 700;
}

.stakeholder-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.stakeholder-cloud span {
  background: var(--soft);
  font-size: 15px;
  padding: 12px 16px;
}

.portal-section {
  background:
    radial-gradient(circle at 20% 20%, rgba(244,180,0,.16), transparent 30%),
    linear-gradient(135deg, #f7fbff, #ffffff);
}

.portal-card {
  padding: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 26px;
}

.portal-card p {
  max-width: 700px;
  color: var(--muted);
  font-size: 17px;
}

.contact-section {
  background: var(--soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 34px;
  align-items: start;
}

.contact-list {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.contact-list div {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
}

.contact-list span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.copy-btn {
  margin-left: 12px;
  padding: 6px 10px;
  border: 1px solid var(--border);
  background: var(--soft);
  border-radius: 10px;
  cursor: pointer;
  color: var(--primary);
  font-weight: 800;
}

.contact-form {
  padding: 28px;
}

.contact-form h3 {
  font-size: 24px;
  margin-bottom: 18px;
}

.contact-form label {
  display: block;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 14px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-top: 7px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
  outline: none;
  background: #fbfdff;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(15,106,168,.10);
}

.form-note {
  color: var(--muted);
  font-size: 13px;
  margin-top: 12px;
}

.main-footer {
  background: var(--primary-dark);
  color: white;
  padding: 44px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr .7fr .7fr;
  gap: 22px;
  align-items: center;
}

.footer-grid img {
  width: 230px;
  background: white;
  border-radius: 18px;
  padding: 8px;
  margin-bottom: 12px;
}

.footer-grid p,
.copyright {
  color: rgba(255,255,255,.72);
}

.footer-grid strong {
  display: block;
  margin-bottom: 8px;
}

.footer-grid a {
  color: white;
  text-decoration: none;
  font-weight: 700;
}

.copyright {
  text-align: center;
  width: min(1140px, 88%);
  margin: 28px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.13);
  font-size: 14px;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(4, 19, 33, .68);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal.show {
  display: flex;
}

.modal-box {
  width: min(480px, 100%);
  background: white;
  border-radius: 24px;
  padding: 28px;
  position: relative;
  box-shadow: var(--shadow);
}

.modal-box h3 {
  font-size: 26px;
  margin-bottom: 10px;
}

.modal-box p {
  color: var(--muted);
  margin-bottom: 18px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: none;
  background: var(--soft);
  border-radius: 999px;
  cursor: pointer;
  font-size: 24px;
  color: var(--primary);
}

.back-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 999px;
  background: var(--primary);
  color: white;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(11,58,103,.25);
  display: none;
}

.back-top.show {
  display: block;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: .75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1050px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid,
  .split,
  .contact-grid,
  .portal-card {
    grid-template-columns: 1fr;
  }

  .portal-card {
    display: grid;
  }
}

@media (max-width: 760px) {
  .main-header {
    padding: 13px 5%;
  }

  .brand img {
    width: 180px;
  }

  .menu-btn {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 73px;
    left: 5%;
    right: 5%;
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
    display: none;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 8px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 60px;
  }

  .section {
    padding: 64px 0;
  }

  .cards-grid,
  .stats-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 42px;
  }

  .hero-text {
    font-size: 17px;
  }

  .footer-grid {
    text-align: center;
  }

  .footer-grid img {
    margin-left: auto;
    margin-right: auto;
  }
}
