/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --primary:   #003087;
  --secondary: #0057a8;
  --accent:    #e8a000;
  --success:   #00875a;
  --danger:    #de350b;
  --warning:   #ff8b00;
  --bg:        #f4f6fa;
  --card:      #ffffff;
  --text:      #172b4d;
  --muted:     #6b778c;
  --border:    #dfe1e6;
  --radius:    10px;
  --shadow:    0 2px 16px rgba(0,48,135,.10);
}
body { font-family: 'DM Sans', sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; }
h1,h2,h3,h4,h5 { font-family: 'Syne', sans-serif; line-height: 1.2; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
ul { list-style: none; padding: 0; }

/* ── Layout ── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1.3rem; border-radius: 7px; font-weight: 600; cursor: pointer; border: 2px solid transparent; font-size: .9rem; transition: all .18s; text-decoration: none; white-space: nowrap; }
.btn-primary   { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: #c98c00; border-color: #c98c00; color: #fff; text-decoration: none; }
.btn-secondary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-secondary:hover { background: var(--secondary); color: #fff; text-decoration: none; }
.btn-success   { background: var(--success); color: #fff; border-color: var(--success); }
.btn-danger    { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn-outline   { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; text-decoration: none; }
.btn-sm { padding: .35rem .85rem; font-size: .82rem; }
.btn-lg { padding: .8rem 1.8rem; font-size: 1rem; }
.btn:disabled { opacity: .6; cursor: not-allowed; }

/* ── Forms ── */
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-weight: 600; font-size: .85rem; margin-bottom: .4rem; color: var(--text); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: .65rem .9rem; border: 1.5px solid var(--border);
  border-radius: 7px; font-size: .93rem; color: var(--text); background: #fff;
  transition: border-color .18s; font-family: inherit;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,48,135,.08);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
@media(max-width:640px) { .form-row, .form-row-3 { grid-template-columns: 1fr; } }
.required { color: var(--danger); }

/* ── Flash ── */
.flash { display: flex; align-items: center; gap: .75rem; color: #fff; padding: .9rem 1.2rem; border-radius: 8px; margin-bottom: 1.5rem; font-weight: 500; }

/* ── Badges ── */
.badge { display: inline-block; padding: .22rem .7rem; border-radius: 30px; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.badge-blue   { background: #e8f0fe; color: #0057a8; }
.badge-orange { background: #fff3cd; color: #856404; }
.badge-green  { background: #d4edda; color: #155724; }
.badge-red    { background: #fde8e8; color: #a61c0e; }
.badge-purple { background: #ede7f6; color: #4a148c; }
.badge-teal   { background: #e0f7fa; color: #00695c; }
.badge-gray   { background: #f0f0f0; color: #555; }

/* ── Cards ── */
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-body { padding: 1.5rem; }
.card-header { padding: 1rem 1.5rem; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.card-header h3 { font-size: 1rem; margin: 0; }

/* ── Tables ── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
thead { background: #f7f9fc; }
th, td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
th { font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
tbody tr:hover { background: #f7f9fc; }

/* ── Pagination ── */
.pagination { display: flex; gap: .4rem; margin-top: 1.5rem; flex-wrap: wrap; }
.page-btn { padding: .4rem .85rem; border: 1.5px solid var(--border); border-radius: 6px; font-size: .85rem; color: var(--text); text-decoration: none; transition: all .15s; }
.page-btn:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
.page-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ── Progress bar ── */
.progress-bar { background: #e9ecef; height: 22px; border-radius: 30px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--accent), #ffcc44); border-radius: 30px; display: flex; align-items: center; justify-content: flex-end; padding-right: .5rem; font-size: .72rem; font-weight: 700; color: #000; min-width: 28px; transition: width 1s; }

/* ── Timeline ── */
.timeline { margin-top: 1.5rem; }
.tl-item { display: flex; gap: 1rem; margin-bottom: 1rem; align-items: flex-start; }
.tl-icon { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: .8rem; }
.tl-done  { background: var(--success); }
.tl-pending { background: #ccc; }
.tl-content h4 { font-size: .9rem; margin-bottom: .1rem; }
.tl-content p { font-size: .82rem; color: var(--muted); }

/* ── PUBLIC HEADER ── */
#header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: var(--shadow); }
#header nav { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.35rem; color: var(--primary); display: flex; align-items: center; gap: .5rem; text-decoration: none; }
.logo:hover { text-decoration: none; }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a { font-weight: 500; color: var(--text); text-decoration: none; font-size: .95rem; }
.nav-links a:hover { color: var(--primary); }
.nav-cta { background: var(--accent); color: #fff !important; padding: .45rem 1.1rem; border-radius: 6px; font-weight: 600; }
.nav-cta:hover { background: #c98c00; }
.mobile-btn { display: none; background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--text); }
@media(max-width:768px) {
  .mobile-btn { display: block; }
  .nav-links { display: none; position: absolute; top: 66px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 1rem 1.5rem; box-shadow: 0 8px 20px rgba(0,0,0,.1); z-index: 99; }
  .nav-links.open { display: flex; }
}

/* ── HERO ── */
.hero { background: linear-gradient(135deg,#001f5b 0%, var(--primary) 55%, var(--secondary) 100%); color: #fff; padding: 5.5rem 0 4.5rem; }
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 30px; padding: .35rem 1rem; font-size: .83rem; margin-bottom: 1.5rem; }
.hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.hero p { font-size: 1.05rem; opacity: .85; margin-bottom: 2rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-hero-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.3); }
.btn-hero-ghost:hover { background: rgba(255,255,255,.22); color: #fff; text-decoration: none; }

/* ── STATS BANNER ── */
.stats-banner { background: #001230; color: #fff; padding: 2rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px,1fr)); gap: 1.5rem; text-align: center; }
.stat-num { font-family: 'Syne', sans-serif; font-size: 2rem; font-weight: 800; color: var(--accent); }
.stat-lbl { font-size: .78rem; opacity: .65; text-transform: uppercase; letter-spacing: .05em; margin-top: .25rem; }

/* ── SECTION TITLE ── */
.section-title { font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 800; text-align: center; margin-bottom: 2.8rem; }

/* ── FEATURES ── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px,1fr)); gap: 1.5rem; }
.feat-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.feat-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,48,135,.13); }
.feat-icon { width: 52px; height: 52px; background: linear-gradient(135deg,var(--primary),var(--secondary)); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.25rem; margin-bottom: 1.2rem; }
.feat-card h3 { font-size: 1.02rem; margin-bottom: .6rem; }
.feat-card p { color: var(--muted); font-size: .88rem; line-height: 1.7; }

/* ── COMPLIANCE ── */
.compliance-section { background: #f0f4ff; }
.compliance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.cert-badges { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.cert-badge { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 1rem .75rem; text-align: center; box-shadow: var(--shadow); }
.cert-badge i { font-size: 1.5rem; color: var(--primary); margin-bottom: .4rem; display: block; }
.cert-badge h4 { font-size: .85rem; }
.cert-badge p { font-size: .75rem; color: var(--muted); }
.cert-list li { padding: .7rem 0; border-bottom: 1px solid #e0e0e0; font-size: .92rem; }
.cert-list li:last-child { border: none; }
@media(max-width:768px) { .compliance-grid { grid-template-columns: 1fr; } .cert-badges { grid-template-columns: repeat(4,1fr); } }

/* ── CASE STUDIES ── */
.case-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 1.5rem; }
.case-card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); }
.case-img { background: linear-gradient(135deg,var(--primary),var(--secondary)); padding: 2rem; text-align: center; color: #fff; font-size: 2.8rem; }
.case-body { padding: 1.5rem; }
.meta-badges { margin-bottom: .75rem; }
.meta-badge { background: #e8f0fe; color: var(--primary); border-radius: 20px; padding: .2rem .7rem; font-size: .76rem; font-weight: 600; margin-right: .4rem; }
.case-body h3 { font-size: 1.02rem; margin-bottom: .5rem; }
.case-body p { color: var(--muted); font-size: .87rem; line-height: 1.65; }
.case-body ul { margin: .8rem 0 1rem 1.2rem; list-style: disc; }
.case-body ul li { font-size: .85rem; color: var(--muted); margin-bottom: .25rem; }

/* ── DASHBOARD SECTION ── */
.dash-section { background: linear-gradient(135deg,#001f5b,var(--primary)); }
.dash-section .section-title { color: #fff; }
.dash-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px,1fr)); gap: 1.5rem; }
.dash-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13); border-radius: 12px; padding: 1.5rem; color: #fff; }
.dash-card h3 { font-size: .95rem; margin-bottom: 1rem; color: rgba(255,255,255,.8); }
.dash-card h3 i { margin-right: .4rem; }
.dash-item { padding: .65rem 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .87rem; }
.dash-item:last-child { border: none; }
.dash-stat-num { font-size: 2rem; font-weight: 800; color: var(--accent); font-family: 'Syne',sans-serif; }
.dash-stat-lbl { font-size: .85rem; color: rgba(255,255,255,.6); margin-top: .2rem; }
.region-bar { background: rgba(255,255,255,.1); height: 8px; border-radius: 4px; margin-top: .35rem; }
.region-fill { background: var(--accent); height: 100%; border-radius: 4px; }

/* ── FOOTER ── */
footer { background: #001230; color: rgba(255,255,255,.8); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-col h3 { color: #fff; margin-bottom: 1rem; font-size: .98rem; }
.footer-col ul li { margin-bottom: .55rem; font-size: .87rem; }
.footer-col ul li a { color: rgba(255,255,255,.7); }
.footer-col ul li a:hover { color: var(--accent); text-decoration: none; }
.footer-col ul li i { color: var(--accent); margin-right: .45rem; }
.footer-col p { font-size: .87rem; line-height: 1.7; opacity: .75; }
.social-links { display: flex; gap: .6rem; margin-top: 1rem; }
.social-links a { width: 34px; height: 34px; background: rgba(255,255,255,.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.8); transition: background .18s; }
.social-links a:hover { background: var(--accent); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; text-align: center; font-size: .83rem; color: rgba(255,255,255,.45); }
.footer-bottom a { color: rgba(255,255,255,.45); margin: 0 .4rem; }

/* ── TRACKING PAGE ── */
.track-wrap { max-width: 700px; margin: 3rem auto; }
.track-box { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.track-box-header { background: linear-gradient(135deg,#001f5b,var(--primary)); padding: 2rem; color: #fff; }
.track-box-header h2 { font-size: 1.5rem; margin-bottom: .3rem; }
.track-box-header p { opacity: .75; font-size: .9rem; }
.track-box-body { padding: 2rem; }
.track-result { margin-top: 2rem; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem 1.5rem; margin: 1.2rem 0; }
.result-item label { font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; display: block; margin-bottom: .2rem; }
.result-item span { font-size: .93rem; color: var(--text); font-weight: 500; }
@media(max-width:480px) { .result-grid { grid-template-columns: 1fr; } }

/* ── QUOTE / BOOK PAGE ── */
.page-wrap { max-width: 780px; margin: 3rem auto; padding: 0 1rem; }
.page-hero { background: linear-gradient(135deg,#001f5b,var(--primary)); color: #fff; padding: 3rem 0; margin-bottom: 0; }
.page-hero h1 { font-size: 2rem; }
.page-hero p { opacity: .8; margin-top: .5rem; }
.form-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 2.5rem; margin-top: 2rem; }

/* ── Confirmation box ── */
.confirm-box { background: #f0fff8; border: 1.5px solid #00875a; border-radius: var(--radius); padding: 2rem; text-align: center; }
.confirm-box i { font-size: 3rem; color: var(--success); margin-bottom: 1rem; display: block; }
.confirm-code { font-family: 'Syne',sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--primary); margin: .75rem 0; letter-spacing: .05em; }
