/* ===================================================
   Corporate Oversight Authority — Main Stylesheet
   =================================================== */

:root {
  --dark-navy:   #002856;
  --mid-navy:    #003a78;
  --accent-blue: #1e90ff;
  --accent-light:#5bb8f5;
  --orange:      #ffa500;
  --white:       #ffffff;
  --light-gray:  #f4f6f9;
  --footer-strip:#005580;
  --text-dark:   #1a1a2e;
  --text-muted:  #6c757d;
}

/* ── Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  background: #fff;
  margin: 0;
}

a { text-decoration: none; }

/* ── Navbar ─────────────────────────────────────── */
.navbar-top {
  background: var(--white);
  border-bottom: 3px solid var(--dark-navy);
  padding: 0.4rem 0;
  z-index: 1050;
}

.navbar-brand img {
  height: 58px;
  width: auto;
}

.navbar-nav .nav-link {
  color: var(--dark-navy) !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.5rem 0.85rem !important;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  position: relative;
  transition: color 0.2s;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0.85rem;
  right: 0.85rem;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform 0.25s;
}

.navbar-nav .nav-link:hover { color: var(--accent-blue) !important; }
.navbar-nav .nav-link:hover::after { transform: scaleX(1); }

/* Flag buttons */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 1rem;
}

.flag-btn {
  border: 2px solid transparent;
  background: none;
  cursor: pointer;
  padding: 2px;
  border-radius: 5px;
  transition: border-color 0.2s, transform 0.2s;
  line-height: 0;
}

.flag-btn:hover  { transform: scale(1.12); }
.flag-btn.active { border-color: var(--orange); }

.flag-btn img {
  width: 34px;
  height: 23px;
  object-fit: cover;
  border-radius: 3px;
  display: block;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

/* ── Hero ───────────────────────────────────────── */
.hero {
  background: var(--dark-navy);
  color: var(--white);
  padding: 90px 0 70px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, #001d3d 0%, #002856 55%, #004080 100%);
}

/* decorative circles */
.hero::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.05);
  top: -200px;
  right: -150px;
}

.hero-content { position: relative; z-index: 1; }

.hero-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.5px;
}

.hero h1 .accent { color: var(--accent-light); }

.hero .subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin: 1rem 0 2.5rem;
}

.btn-hero {
  background: var(--orange);
  color: var(--dark-navy);
  font-weight: 800;
  font-size: 1rem;
  padding: 13px 38px;
  border-radius: 4px;
  border: none;
  display: inline-block;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-hero:hover {
  background: #ffb733;
  color: var(--dark-navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255,165,0,0.4);
}

.btn-hero-outline {
  background: transparent;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 32px;
  border-radius: 4px;
  border: 2px solid rgba(255,255,255,0.6);
  display: inline-block;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 1rem;
}

.btn-hero-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

/* ── Section helpers ────────────────────────────── */
.section-pad { padding: 5rem 0; }
.section-pad-sm { padding: 3rem 0; }

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.section-title {
  color: var(--dark-navy);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.section-divider {
  width: 56px;
  height: 4px;
  background: var(--orange);
  border-radius: 2px;
  margin: 0.6rem 0 1.5rem;
}

.section-divider.centered { margin-left: auto; margin-right: auto; }

/* ── Feature / Icon cards ───────────────────────── */
.feature-card {
  background: var(--light-gray);
  border-radius: 10px;
  padding: 2.25rem 1.75rem;
  text-align: center;
  border-top: 4px solid var(--accent-blue);
  height: 100%;
  transition: transform 0.25s, box-shadow 0.25s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(0,40,86,0.13);
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--dark-navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 1.25rem;
}

.feature-card h4 {
  color: var(--dark-navy);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.feature-card p { color: #555; font-size: 0.92rem; margin: 0; }

/* ── Stats bar ──────────────────────────────────── */
.stats-bar {
  background: var(--dark-navy);
  color: var(--white);
  padding: 3.5rem 0;
}

.stat-item { text-align: center; }

.stat-num {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.78);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── Steps / How it works ───────────────────────── */
.step-card {
  position: relative;
  padding: 2rem 1.5rem;
  text-align: center;
}

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--dark-navy);
  font-size: 1.3rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.step-card h4 {
  color: var(--dark-navy);
  font-weight: 700;
  margin-bottom: 0.6rem;
}

/* connector line between steps */
.steps-row .step-connector {
  position: absolute;
  top: 3.5rem;
  right: -50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--accent-blue), transparent);
  display: none;
}

@media (min-width: 992px) {
  .steps-row .col-lg-4:not(:last-child) .step-connector { display: block; }
}

/* ── CTA band ───────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--mid-navy), var(--dark-navy));
  color: var(--white);
  padding: 5rem 0;
  text-align: center;
}

.cta-band h2 { font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-band p  { color: rgba(255,255,255,0.8); font-size: 1.05rem; margin: 1rem 0 2rem; }

/* ── Page header ────────────────────────────────── */
.page-header {
  background: var(--dark-navy);
  color: var(--white);
  padding: 3.5rem 0;
}

.page-header h1 {
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0;
}

.page-header p {
  color: rgba(255,255,255,0.75);
  margin: 0.5rem 0 0;
  font-size: 1rem;
}

/* ── FAQ page ───────────────────────────────────── */
.accordion-button {
  font-weight: 600;
  color: var(--dark-navy);
  background: var(--light-gray);
  font-size: 1rem;
}

.accordion-button:not(.collapsed) {
  background: var(--dark-navy);
  color: var(--white);
  box-shadow: none;
}

.accordion-button:not(.collapsed)::after {
  filter: invert(1);
}

.accordion-button:focus { box-shadow: none; }

.accordion-item {
  border: 1px solid #dde3ec;
  border-radius: 6px !important;
  margin-bottom: 0.6rem;
  overflow: hidden;
}

.accordion-body {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #444;
}

/* ── Experiences page ───────────────────────────── */
.exp-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,40,86,0.09);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.exp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(0,40,86,0.17);
}

.exp-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  flex-shrink: 0;
}

.exp-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.exp-stars { color: var(--orange); font-size: 1rem; margin-bottom: 0.75rem; }

.exp-quote {
  font-style: italic;
  color: #444;
  font-size: 0.92rem;
  line-height: 1.7;
  flex: 1;
  border-left: 3px solid var(--accent-blue);
  padding-left: 1rem;
  margin-bottom: 1rem;
}

.exp-owner {
  font-weight: 700;
  color: var(--dark-navy);
  font-size: 0.88rem;
}

/* ── About page ─────────────────────────────────── */
.about-img-wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 36px rgba(0,40,86,0.18);
}

.about-img-wrap img { width: 100%; display: block; }

.value-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.value-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid #e8ecf2;
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.value-list li::before {
  content: '✓';
  color: var(--accent-blue);
  font-weight: 700;
  flex-shrink: 0;
}

.highlight-box {
  background: var(--dark-navy);
  color: var(--white);
  border-radius: 10px;
  padding: 2rem 2.25rem;
}

.highlight-box h4 { color: var(--orange); font-weight: 700; margin-bottom: 0.75rem; }
.highlight-box p  { color: rgba(255,255,255,0.85); margin: 0; line-height: 1.7; }

/* ── File Form Now ──────────────────────────────── */
.search-box {
  background: var(--light-gray);
  border-radius: 12px;
  padding: 2.5rem;
}

.search-input-group .form-control {
  border: 2px solid var(--dark-navy);
  border-right: none;
  font-size: 1.05rem;
  padding: 0.8rem 1.1rem;
  border-radius: 6px 0 0 6px;
}

.search-input-group .form-control:focus {
  box-shadow: none;
  border-color: var(--accent-blue);
}

.search-input-group .btn-search {
  background: var(--dark-navy);
  color: var(--white);
  border: 2px solid var(--dark-navy);
  border-radius: 0 6px 6px 0;
  padding: 0 1.5rem;
  font-weight: 700;
  transition: background 0.2s;
}

.search-input-group .btn-search:hover {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
}

.info-card {
  border: 1px solid #dde3ec;
  border-top: 4px solid var(--accent-blue);
  border-radius: 8px;
  padding: 1.75rem;
  height: 100%;
}

.info-card h5 {
  color: var(--dark-navy);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tips-list li {
  padding: 0.45rem 0;
  font-size: 0.92rem;
  display: flex;
  gap: 0.6rem;
  border-bottom: 1px solid #eef0f4;
}

.tips-list li::before {
  content: '→';
  color: var(--accent-blue);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Contact page ───────────────────────────────── */
.contact-form-wrap {
  background: var(--light-gray);
  border-radius: 12px;
  padding: 2.5rem;
}

.contact-form-wrap .form-control,
.contact-form-wrap .form-label {
  font-size: 0.95rem;
}

.contact-form-wrap .form-control:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(30,144,255,0.15);
}

.contact-info-box {
  background: var(--dark-navy);
  color: var(--white);
  border-radius: 12px;
  padding: 2.5rem;
  height: 100%;
}

.contact-info-box h4 { color: var(--orange); font-weight: 700; margin-bottom: 1.25rem; }

.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-detail .ci-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail .ci-text strong {
  display: block;
  color: var(--orange);
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.contact-detail .ci-text span {
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  line-height: 1.6;
}

.btn-primary-coa {
  background: var(--dark-navy);
  color: var(--white);
  border: none;
  padding: 12px 34px;
  font-weight: 700;
  border-radius: 5px;
  transition: background 0.2s, transform 0.2s;
  font-size: 0.95rem;
}

.btn-primary-coa:hover {
  background: var(--accent-blue);
  color: var(--white);
  transform: translateY(-1px);
}

/* ── Footer ─────────────────────────────────────── */
footer.site-footer {
  background: var(--dark-navy);
  color: var(--white);
  padding: 3.5rem 0 0;
}

footer.site-footer h5 {
  color: var(--orange);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.1rem;
}

footer.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer.site-footer ul li a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.88rem;
  line-height: 2.1;
  transition: color 0.2s;
}

footer.site-footer ul li a:hover { color: var(--orange); }

.footer-contact-info p {
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
  line-height: 1.9;
  margin: 0;
}

.social-icons { margin-top: 1.25rem; }

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  font-size: 0.95rem;
  margin-right: 0.45rem;
  transition: background 0.2s, transform 0.2s;
}

.social-icons a:hover {
  background: var(--orange);
  transform: translateY(-2px);
}

.footer-bottom {
  background: var(--footer-strip);
  padding: 1rem 0;
  margin-top: 2.5rem;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255,255,255,0.8);
  font-size: 0.82rem;
}

/* ── Utilities ──────────────────────────────────── */
.bg-light-gray { background: var(--light-gray); }
.text-navy     { color: var(--dark-navy); }
.text-orange   { color: var(--orange); }

@media (max-width: 991.98px) {
  .hero { padding: 60px 0 50px; }

  .lang-switcher { margin-left: 0; margin-top: 0.75rem; }

  .navbar-collapse { padding-bottom: 0.75rem; }

  .stat-item { margin-bottom: 2rem; }
  .stat-item:last-child { margin-bottom: 0; }

  .btn-hero-outline { margin-left: 0; margin-top: 0.75rem; }

  .contact-info-box { margin-top: 1.5rem; }
}

@media (max-width: 575.98px) {
  .hero h1   { font-size: 1.9rem; }
  .btn-hero, .btn-hero-outline { display: block; width: 100%; text-align: center; margin-left: 0; }
  .btn-hero-outline { margin-top: 0.75rem; }
}
