:root {
    --bg: #f8fafc;
    --surface: #ffffff;
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --text: #0f172a;
    --muted: #475569;
    --border: #e2e8f0;
}

* { box-sizing: border-box; }

html {
  height: 100%;
}


body {
    height: 100%;
    margin: 0;
    font-family: Inter, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.5;
}

.page-wrap {
  min-height: 100%;
  margin-bottom: -50px;
}

.page-wrap:after {
  height: 50px;
  content: "";
  display: block;
}

.container { width: min(1250px, 95vw); margin: 0 auto; }
header {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    z-index: 10;
}

.input-container {
	display: flex;
	align-items: center;
	gap: 16px;
	width: 100%;
}

.input-container-group {
	display: flex;
	align-items: center;
	gap: 8px;
}

#department {
	width: 250px;
	max-width: 250px;
}

.input-container-group:last-child {
	flex: 1;
	min-width: 0;
}

#callbackEmail {
	flex: 1;
	width: 100%;
	min-width: 0;
}

.nav { display: flex; justify-content: space-between; align-items: center; padding: 0.9rem 0; }
.logo { display: flex; align-items: center; font-weight: 700; gap: 0.6rem; }
.logo img { width: 36px; height: 36px; }
.logo a { text-decoration: none; color: var(--muted); font-weight: 600; }
.links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.links a { text-decoration: none; color: var(--muted); font-weight: 700; }
.links a:hover { color: var(--primary-dark); }
a.active-page { color: var(--primary-dark); }

.btn {
    border: none;
    background: var(--primary);
    color: white;
    padding: .75rem 1rem;
    border-radius: .7rem;
    cursor: pointer;
    font-weight: 700;
}
.btn-submit {
    border: none;
    background: var(--primary);
    color: white;
    padding: 1rem 1rem;
    margin: 0 35% 0 35%;
    border-radius: .7rem;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.2rem;
    width: auto;
    min-width: 100px;
}
.btn:hover { background: var(--primary-dark); }

section { padding: 1.5rem 0; }
.hero { padding: 1rem 0; }
.hero h1 { font-size: clamp(1.4rem, 4vw, 2.5rem); margin: 0 0 1rem; text-align: center; }
.hero p { font-size: 1.5rem; color: var(--muted); }

.services h2 { text-align: center; font-weight: 780; }

.services {
    background-image: url('../images/main-cover.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1rem;
    padding: 0rem 2rem 1rem 2rem;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1rem;
    margin: 1rem;
    text-align: center;
    justify-content;
    background: rgba(255, 255, 255, 0.56);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(3.0px);
    -webkit-backdrop-filter: blur(3.0px);
    border: 1px solid rgba(255, 255, 255, 0.36);
    overflow: hidden;
    border-radius: 15px;
    transition: all 0.5s ease;
}

.card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(0deg, transparent, transparent 30%, rgba(0, 93, 255, 0.55));
    transform: rotate(-45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 93, 255, 0.87);
  backdrop-filter: blur(10.0px);
  -webkit-backdrop-filter: blur(10.0px);
}

.card:hover::before {
  opacity: 1;
  transform: rotate(-45deg) translateY(100%);
}

.card p { border-top: 0.7px solid var(--border); padding-top: 1rem; }

h2 { font-size: 1.7rem; margin: 1rem 0 1rem; }
.muted { color: var(--muted); }

.chip-wrap { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
    background: #dbeafe;
    color: #1e3a8a;
    border-radius: 999px;
    padding: .3rem .7rem;
    font-size: .9rem;
    font-weight: 600;
}

.timeline { display: grid; gap: .8rem; }
.timeline .step { padding: .8rem 1rem; border-left: 4px solid var(--primary); background: #eff6ff; border-radius: .4rem; }

form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1rem;
    display: grid;
    gap: .8rem;
}

input, select, textarea {
    width: 100%;
    padding: .65rem .7rem;
    border-radius: .6rem;
    border: 1px solid #cbd5e1;
    font: inherit;
    resize: none;
}

.notification {
  position: fixed;
  top: 75%;
  right: 20px;
  min-width: 320px;
  max-width: 420px;
  width: 420px;
  color: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  display: none;
  z-index: 9999;
  animation: fadeIn 0.25s ease;
}

.notification.success {
  background: #16a34a;
}

.notification.error {
  background: #dc2626;
}

.notification-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.notification-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}

.close-btn {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.notification-message {
  margin: 0 0 10px 0;
  font-size: 14px;
  line-height: 1.5;
}

.tracking-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.15);
  padding: 10px;
  border-radius: 8px;
}

.tracking-label {
  font-weight: 700;
}

.tracking-id {
  font-family: Consolas, monospace;
  word-break: break-all;
}

.copy-btn {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

footer {
    border-top: 0.7px solid var(--border);
    padding: 0.7rem;
    color: var(--muted);
    height: 50px;
}

.footer-container { display: flex; justify-content: center; }

#contactStatus { font-weight: 600; }