/* ===== RESET ===== */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Roboto', Arial, sans-serif; 
    color: #333; 
    background: #fff;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== COLORS ===== */
:root {
    --fedex-purple: #4D148C;
    --fedex-orange: #FF6600;
    --fedex-blue: #0B1F3F;
    --light-gray: #f5f5f5;
}

/* ===== CONTAINERS ===== */
.header-container, .hero-container, .why-ship-container, .shipping-container, .cargo-shipping-container {
    width: 100%;
    max-width: 1280px; 
    margin: 0 auto; 
}

/* ===== HEADER ===== */
header { 
    background: var(--fedex-blue);
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;
}
.header-container {
    display: flex;  
    align-items: center;  
    justify-content: space-between; 
    height: 70px; 
    padding: 0 30px;
}

.logo-img{
    height: 100px;
    width: auto;
    display: block;
}
.logo{
    display: flex;
    align-items: center;
}
/* LOGO ON THE DARK BLUE HEADER: the dark-red letters of the logo almost vanish on navy.
   This adds a soft white glow behind the letters so every part can be read (EDIT ME: make the numbers smaller/bigger,
   or delete this block if you upload a logo version with light letters). */
header .logo-img{
    filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 3px rgba(255,255,255,.9)) drop-shadow(0 0 8px rgba(255,255,255,.45));
}

/* ===== DROPDOWN (base) ===== */
.dropdown { 
    display: none; 
    position: absolute; 
    top: 60px; left: 0; 
    background: #fff; 
    min-width: 250px; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.2); 
    padding: 15px; z-index: 999; 
    border-radius: 10px;
    margin: 10px;
    gap: 10px;
}
.nav-item.open .dropdown { display: block; }
.dropdown a { 
    display: block; 
    padding: 8px 0; 
    font-size: 14px;
    color: #4D148C; 
}
.dropdown.open { display: block; }
.dropdown a:hover { color: var(--fedex-purple); }
.header-actions { 
    color: #fff; 
    display: flex; 
    gap: 15px; 
    align-items: center; 
}

/* ===== HEADER: NAVIGATION ===== */
.header-container {
    position: relative;               /* anchor for the sliding search */
    --search-width: 80%;              /* how far the search slides across the header */
    --search-speed: 1s;               /* how slow the slide is */
}
.navbar { transition: opacity 0.6s ease, visibility 0.6s ease; }
.nav-link { display: flex; gap: 28px; }
.nav-item { position: relative; }
.nav-btn { cursor: pointer; font-size: 14px; color: #fff; }
.nav-item .dropdown { top: 46px; left: 0; margin: 0; }
.all-link { color: var(--fedex-orange) !important; font-weight: 700; }

.action-btn {
    cursor: pointer;
    font-size: 14px;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.header-actions { position: relative; }
#actionDropdown { top: 60px; right: 70px; left: auto; margin: 0; }

.search-dropdown { display: flex; align-items: center; }
.search-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.hamburger {
    display: none;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
}

/* ===== HEADER: TRACKING DROPDOWN ===== */
.tracking-dropdown { min-width: 380px !important; }
.tracking-row { display: flex; gap: 10px; align-items: center; width: 100%; }
.tracking-row .float-group { flex: 1; min-width: 0; }
.tracking-row .orange {
    background: var(--fedex-orange);
    color: #fff;
    border: none;
    padding: 0 20px;
    height: 46px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    flex-shrink: 0;
}
.error-msg { color: #D40511; font-size: 12px; margin-top: 6px; display: none; }
.error-msg.show { display: block; animation: errorIn 0.4s ease; }
@keyframes errorIn {
    0%   { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes inputShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}
@media (prefers-reduced-motion: reduce) {
    .error-msg.show, .input-error { animation: none !important; }
}

.float-group { position: relative; width: 100%; }
.float-group input {
    width: 100%;
    padding: 14px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
    background: #fff;
}
.float-group label {
    position: absolute;
    left: 12px;
    top: 14px;
    color: #888;
    pointer-events: none;
    transition: 0.2s;
    background: #fff;
    padding: 0 4px;
}
.float-group input:focus + label,
.float-group input:not(:placeholder-shown) + label {
    top: -7px;
    left: 8px;
    font-size: 11px;
    color: var(--fedex-orange);
    font-weight: 700;
}

/* ===== HEADER: SEARCH (slides out from the icon) ===== */
.desktop-search-slide {
    position: absolute;
    top: 50%;
    right: 80px;                      /* starts right beside the search icon */
    transform: translateY(-50%);
    width: 0;
    height: 48px;
    padding: 0;
    background: #fff;
    color: #333;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 20;
    /* closing: slide back, then hide */
    transition:
        width var(--search-speed) cubic-bezier(0.25, 0.8, 0.25, 1),
        padding var(--search-speed) cubic-bezier(0.25, 0.8, 0.25, 1),
        opacity 0.4s ease,
        visibility 0s linear var(--search-speed);
}
.desktop-search-slide.open {
    width: var(--search-width);
    padding: 0 18px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    overflow: visible;                /* lets the search results drop down below the bar (they were clipped before) */
    transition:
        width var(--search-speed) cubic-bezier(0.25, 0.8, 0.25, 1),
        padding var(--search-speed) cubic-bezier(0.25, 0.8, 0.25, 1),
        opacity 0.4s ease,
        visibility 0s;
}
.desktop-search-slide input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px;
    color: #333;
}
#desktopClose, #fedexClose {
    border: none;
    background: transparent;
    color: #333;
    cursor: pointer;
    flex-shrink: 0;
}

/* Mobile search bar (drops down under the header) */
.fedex-search-bar {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 0;
    background: #fff;
    opacity: 0;
    overflow: hidden;
    transition: width 0.4s, box-shadow 0.4s, border-color 0.4s, background-color 0.4s; /* specific properties = smoother */
    z-index: 500;
}
.fedex-search-bar.open { height: 70px; opacity: 1; }
.fedex-search-inner {
    height: 70px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 20px;
    color: #333;
}
.fedex-search-inner input { flex: 1; border: none; outline: none; }

/* ===== HEADER: RESPONSIVE ===== */
@media (min-width: 769px) {
    .fedex-search-bar { display: none !important; }

    /* while the search is open, the nav content fades away */
    .header-container.search-active .navbar,
    .header-container.search-active .action-btn {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
    .header-container:has(.desktop-search-slide.open) .navbar,
    .header-container:has(.desktop-search-slide.open) .action-btn {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .desktop-search-slide { display: none !important; }

    .navbar {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background: var(--fedex-blue);
        padding: 20px;
        overflow-y: auto;
        transition: right 0.4s;
        display: flex !important;
        z-index: 999;
    }
    .navbar.open { right: 0; }
    .nav-link { flex-direction: column; }
    .nav-item { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .nav-item .dropdown { position: static; margin: 10px 0 0; box-shadow: none; }
    .tracking-dropdown { min-width: 0 !important; }
    #actionDropdown { position: absolute; top: 55px; right: 0; left: auto; }
}

/* ===== HERO SECTION ===== */
.hero-section {
    background-image: url('image/container (1).jpg');
    background-size: cover;
    background-position: center;
    min-height: 650px;
    display: flex;
    align-items: center;
    padding: 80px;
}
.hero-container h1 {
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 30px;
    color: white;
    animation: MmEx 2s ease;
}
@keyframes MmEx{
    0%{ opacity: 0; transform: translateX(60px) scale(0.8); }
    100%{ opacity: 1; transform: translateX(0) scale(1); }
}

/* ===== 3 TABS ===== */
.MmEx-tabs {
    display: flex;
    max-width: 750px;
    background: #e3d9d9;
    border-radius: 5% 4px 0 0;
}
.MmEx-tab {
    flex: 3;
    padding: 10px 20px;
    text-align: center;
    color: #333;
    border-radius: 10px;
    background: var(--light-gray);
    border-right: 1px solid #ddd;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    text-transform:uppercase;
}
.MmEx-tab:last-child { border-right:none; }
.MmEx-tab i { display: block; font-size: 22px; margin-bottom: 10px; }
.MmEx-tab.active { background: var(--fedex-blue); color: #fff; }

/* ===== CONTENT AREA UNDER TABS ===== */
.MmEx-form-area {
    max-width: 750px;
    padding: 20px;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
}
.MmEx-pane { display:none; }
.MmEx-pane.active { display: block; }

/* TRACK PANE */
/* flex only when active - a plain "#track {display:flex}" beats .MmEx-pane {display:none} */
#track.active { display: flex; flex-wrap: wrap; gap: 10px; }
#track .error-msg {
    flex-basis: 100%;
    margin-top: 0;
    padding: 8px 12px;
    background: #fff;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
}
.input-error { border-color: #D40511 !important; animation: inputShake 0.4s ease; }
#tracking-input {
    flex: 1;
    padding: 14px;
    border: 1px solid #ccc;
    font-size: 15px;
    border-radius: 10px;
}
/* Hero floating label: "Tracking ID" sits in the box, then moves up inside it when typing */
.hero-float { flex: 1; min-width: 0; }
.hero-float #tracking-input { padding: 24px 14px 8px; background: #fff; outline: none; }
.hero-float label {
    left: 14px;
    top: 17px;
    padding: 0;
    background: transparent;
    font-size: 15px;
    transition: top 0.25s ease, font-size 0.25s ease, color 0.25s ease;
}
.hero-float input:focus + label,
.hero-float input:not(:placeholder-shown) + label {
    top: 7px;
    left: 14px;
    font-size: 11px;
}
.float-group input.input-error + label { color: #D40511; }

.red-btn {
    background: var(--fedex-orange);
    color: #fff;
    border: none;
    padding: 14px 25px;
    font-weight: bold;
    cursor: pointer;
}

/* RATE PANE */
.orange-btn {
    background: transparent;
    color: var(--fedex-orange);
    border: 2px solid var(--fedex-orange);
    padding: 12px 25px;
    font-weight: 600;
    display: inline-block;
    margin-top: 15px;
}
.orange-btn:hover { background: var(--fedex-orange); color: #fff; }

/* ===== WHY SHIP SECTION ===== */
.why-ship-section { padding: 60px 0; }
.why-ship-container { display: flex; gap: 50px; align-items: stretch; }
.why-ship-text { flex: 1 1 60%; }
.why-ship-image { flex: 1 1 40%; }
.why-ship-image img { width: 100%; height: 100%; object-fit: cover; }
.why-ship-section h2 { font-size: 32px; font-weight: 300; margin-bottom: 25px; color: var(--fedex-blue); }
.why-ship-content { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-bottom: 25px; }
.why-ship-item strong { display: block; margin-bottom: 8px; }
.why-ship-item p { font-size: 14px; color: #555; line-height: 1.6; }

/* ===== SHIPPING + CARGO ===== */
.shipping-section, .cargo-shipping-section { padding: 60px 0; }
.shipping-section { background: var(--light-gray); }
.shipping-container, .cargo-shipping-container { display: flex; gap: 40px; align-items: center; }
.shipping-image, .cargo-shipping-image { flex: 1 1 40%; width: 100%; }
.shipping-item, .cargo-shipping-item { flex: 1 1 60%; }
.shipping-item h2, .cargo-shipping-item h2 { color: var(--fedex-blue); font-weight: 300; font-size: 28px; margin-bottom: 15px; }
.cargo-services { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.cargo-group { display: flex; align-items: center; gap: 10px; }
.cargo-group i { color: var(--fedex-orange); }

/* ===== 1. IMPORTANT SERVICE BOXES - DHL STYLE ===== */
.service-container {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

/* Top heading */
.important-service h2 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 5px;
  color: #333;
}
.important-service p {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
}
.services-update {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid #e0e0e0;
}
.services-update a {
  color: #D40511;
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
}
.services-update a:hover {
  text-decoration: underline;
}
.arrow {
  font-weight: bold;
  margin-left: 5px;
}

/* The 2 Big Boxes */
.important-update {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 30px;
}

.update {
  border: 1px solid #e0e0e0;
  background: #fff;
  transition: 0.2s;
}
.update:hover {
  border-color: #D40511;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.update a {
  display: block;
  padding: 20px;
  text-decoration: none;
  color: #333;
}

.update h4 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}
.update h4 .arrow {
  color: #D40511;
}

.update p {
  font-size: 13px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 15px;
}

.update img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  margin-top: 10px;
}

/* ===== 2. FOOTER ===== */
footer {
  background: #fff; /* top part stays white */
  color: #333;
  font-family: 'Roboto', Arial, sans-serif;
  padding-top: 40px;
}

footer .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 30px;
}

/* 3 Columns */
.foot-top {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-column h3 {
  margin-bottom: 16px;
  font-size: 16px;
}

.footer-column a {
  display: block;
  color: #484e5a;
  text-decoration: none;
  margin-bottom: 10px;
  font-size: 12px;
}

.footer-column a:hover {
  color: #0b0b0cdd;
  text-decoration: underline;
}

/* FOOTER DOWN - FULL WIDTH BLUE */
.footer-down {
  background: #fff; 
  padding: 25px 0; 
  margin-top: 20px;
}
.footer-down .container { 
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 30px;
}

.footer-link a {
  color: #484e5a;
  font-size: 12px;
  text-decoration: none;
  margin-right: 15px;
}
.footer-link a:hover {
  color: #1f1e1c;
  text-decoration: underline;
}

/* CIRCLE SOCIAL ICONS */
.footer-social {
  text-align: center;
}
.footer-social h5 { 
  font-size: 14px;
  color: #282825;
  margin-bottom: 10px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin: 0 10px;
  border-radius: 50%;
  transition: 0.2s;
  text-decoration: none;
  background-color: #0A1E3F;
  color: #555;
}
.footer-social a:hover {
  color: #0c2650;
  background-color: transparent;
}

/* FOOTER BOTTOM - FULL WIDTH DARK BLUE */
.footer-bottom {
  background: #0c2650;
  color: #fff;
  padding: 15px 0;
  border-top: 1px solid #f3f1ea;
}
.footer-bottom .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 30px;
  text-align: center;
  font-size: 12px;
}

/* MOBILE */
@media (max-width: 768px) {
  .important-update { grid-template-columns: 1fr; }
  .foot-top { flex-direction: column; gap: 25px; }
  .footer-down { flex-direction: column; align-items: center; text-align: center; }
  .footer-social { display:flex; justify-content:center; flex-wrap:wrap; gap:10px; }
}


/* =====================================================
   LOGIN & SIGNUP FORMS
   Uses the site variables from :root in home.css
   (--fedex-blue, --fedex-orange, --fedex-purple, --light-gray)
===================================================== */

/* ---------- Page wrapper ---------- */
.login-section,
.signup-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
    padding: 130px 20px 60px;          /* top padding clears the fixed header */
}

/* ---------- Card ---------- */
.login-section .container,
.signup-section .container {
    width: 100%;
    max-width: 440px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    padding: 40px 36px;
}
.signup-section .container { max-width: 520px; }   /* signup has more fields */

/* ---------- Title ---------- */
.login-section h2,
.signup-section h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--fedex-blue);
    margin-bottom: 24px;
    text-align: center;
}
.login-section .form-subtitle,
.signup-section .form-subtitle {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-top: -14px;
    margin-bottom: 24px;
}

/* ---------- Fields ---------- */
.login-section .form-group,
.signup-section .form-group {
    margin-bottom: 18px;
}

.login-section label,
.signup-section label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    margin-bottom: 6px;
}

.login-section input[type="text"],
.login-section input[type="email"],
.login-section input[type="tel"],
.login-section input[type="password"],
.login-section input[type="number"],
.signup-section input[type="text"],
.signup-section input[type="email"],
.signup-section input[type="tel"],
.signup-section input[type="password"],
.signup-section input[type="number"],
.signup-section select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
    font-family: 'Roboto', Arial, sans-serif;
    color: #333;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.login-section input::placeholder,
.signup-section input::placeholder {
    color: #aaa;
}

.login-section input:focus,
.signup-section input:focus,
.signup-section select:focus {
    outline: none;
    border-color: var(--fedex-purple);
    box-shadow: 0 0 0 3px rgba(77, 20, 140, 0.12);
}

/* Two fields side by side (e.g. first name / last name) */
.signup-section .form-row {
    display: flex;
    gap: 14px;
}
.signup-section .form-row .form-group {
    flex: 1;
    min-width: 0;
}

/* ---------- Password show / hide ---------- */
.login-section .password-wrap,
.signup-section .password-wrap {
    position: relative;
}
.login-section .password-wrap input,
.signup-section .password-wrap input {
    padding-right: 44px;
}
.login-section .toggle-password,
.signup-section .toggle-password {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 15px;
}
.login-section .toggle-password:hover,
.signup-section .toggle-password:hover {
    color: var(--fedex-purple);
}

/* ---------- Remember me / forgot password row (login) ---------- */
.login-section .form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    font-size: 13px;
}
.login-section .form-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
    font-weight: 400;
    color: #555;
}
.login-section .form-options a {
    color: var(--fedex-purple);
    font-weight: 600;
}
.login-section .form-options a:hover { text-decoration: underline; }

/* ---------- Checkboxes ---------- */
.login-section input[type="checkbox"],
.signup-section input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--fedex-purple);
    cursor: pointer;
}

/* Terms checkbox row on signup */
.signup-section .form-group.checkbox-row,
.signup-section .form-group:has(input[type="checkbox"]) {
    display: flex;
    align-items: center;
    gap: 8px;
}
.signup-section .form-group label[for="terms"] {
    margin-bottom: 0;
    font-weight: 400;
    font-size: 13px;
    color: #555;
}
.signup-section .form-group label[for="terms"] a {
    color: var(--fedex-purple);
    font-weight: 600;
}
.signup-section .form-group label[for="terms"] a:hover { text-decoration: underline; }

/* ---------- Error / success messages ---------- */
.login-section .form-error,
.signup-section .form-error {
    display: none;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #D40511;
}
.login-section .form-group.error .form-error,
.signup-section .form-group.error .form-error {
    display: block;
    animation: errorIn 0.4s ease;
}
.login-section .form-group.error input,
.signup-section .form-group.error input,
.signup-section .form-group.error select {
    border-color: #D40511;
}
.login-section .form-group.error input:focus,
.signup-section .form-group.error input:focus,
.signup-section .form-group.error select:focus {
    box-shadow: 0 0 0 3px rgba(212, 5, 17, 0.12);
}

/* Message box above the button (e.g. "Wrong email or password") */
.login-section .form-message,
.signup-section .form-message {
    display: none;
    padding: 10px 14px;
    margin-bottom: 18px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    text-align: left;
}
.login-section .form-message.show,
.signup-section .form-message.show {
    display: block;
    animation: errorIn 0.4s ease;
}
.login-section .form-message.error,
.signup-section .form-message.error {
    background: #fdecee;
    color: #D40511;
    border: 1px solid #f5c2c7;
}
.login-section .form-message.success,
.signup-section .form-message.success {
    background: #e9f7ef;
    color: #1e7e46;
    border: 1px solid #b7e4c7;
}

/* ---------- Submit button ---------- */
.login-section button.btn,
.signup-section button.btn {
    width: 100%;
    background: var(--fedex-orange);
    color: #fff;
    border: none;
    padding: 13px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Roboto', Arial, sans-serif;
    cursor: pointer;
    margin-top: 6px;
    transition: background 0.2s ease, transform 0.1s ease;
}
.login-section button.btn:hover,
.signup-section button.btn:hover {
    background: #e65c00;
}
.login-section button.btn:active,
.signup-section button.btn:active {
    transform: scale(0.99);
}
.login-section button.btn:disabled,
.signup-section button.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ---------- Helper text under the form ---------- */
.login-section p,
.signup-section p {
    text-align: center;
    font-size: 13px;
    color: #555;
    margin-top: 16px;
}
.login-section p a,
.signup-section p a {
    color: var(--fedex-purple);
    font-weight: 600;
}
.login-section p a:hover,
.signup-section p a:hover {
    text-decoration: underline;
}

/* "or" divider between the form and alternative links */
.login-section .divider,
.signup-section .divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 0 4px;
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
}
.login-section .divider::before,
.login-section .divider::after,
.signup-section .divider::before,
.signup-section .divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

/* ---------- Animations (reuses errorIn from home.css; defined here so this file works alone) ---------- */
@keyframes errorIn {
    0%   { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .login-section .form-group.error .form-error,
    .signup-section .form-group.error .form-error,
    .login-section .form-message.show,
    .signup-section .form-message.show { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 480px) {
    .login-section .container,
    .signup-section .container {
        padding: 30px 22px;
    }
    .signup-section .form-row {
        flex-direction: column;
        gap: 0;
    }
}


/* =====================================================
   NEWS ARTICLE PAGE (article.html)
===================================================== */
.article-section {
    padding: 120px 20px 60px;          /* top padding clears the fixed header */
    background: #fff;
    min-height: 70vh;
}
.article-container {
    max-width: 800px;
    margin: 0 auto;
}
.article-back {
    display: inline-block;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--fedex-purple);
}
.article-back:hover { text-decoration: underline; }
.article-container h1 {
    font-size: 34px;
    font-weight: 300;
    line-height: 1.25;
    color: var(--fedex-blue);
    margin-bottom: 10px;
}
.article-date {
    font-size: 13px;
    color: #777;
    margin-bottom: 20px;
}
.article-image {
    display: block;
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    margin: 20px 0 28px;
}
.article-body p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 18px;
}
.article-loading {
    font-size: 15px;
    color: #666;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .article-section { padding-top: 100px; }
    .article-container h1 { font-size: 26px; }
}


/* =====================================================
   DELIVERED PAGE (delivered.html)
===================================================== */

/* ---------- Hero ---------- */
.dl-hero {
    background:
        linear-gradient(rgba(11, 31, 63, 0.88), rgba(11, 31, 63, 0.88)),
        url('image/cargo.jpg') center / cover;
    color: #fff;
    text-align: center;
    padding: 140px 20px 130px;        /* top padding clears the fixed header */
}
.dl-hero h1 {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 14px;
}
.dl-hero p {
    max-width: 620px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.6;
    color: #dbe4f3;
}
.dl-box {
    position: relative;
    display: inline-block;
    font-size: 64px;
    color: var(--fedex-orange);
    margin-bottom: 20px;
    animation: dlFloat 3s ease-in-out infinite;
}
.dl-box .fa-circle-check {
    position: absolute;
    right: -16px;
    bottom: -6px;
    font-size: 28px;
    color: #fff;
    background: var(--fedex-blue);
    border-radius: 50%;
}
@keyframes dlFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

/* ---------- Stats ---------- */
.dl-stats {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: -70px auto 0;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.dl-stat {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    padding: 28px 16px;
    text-align: center;
}
.dl-stat i {
    font-size: 28px;
    color: var(--fedex-orange);
    margin-bottom: 12px;
}
.dl-num {
    font-size: 36px;
    font-weight: 700;
    color: var(--fedex-blue);
    line-height: 1.1;
}
.dl-stat p {
    margin-top: 8px;
    font-size: 14px;
    color: #555;
}

/* ---------- Sections ---------- */
.dl-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 70px 20px 20px;
}
.dl-section h2 {
    font-size: 30px;
    font-weight: 300;
    color: var(--fedex-blue);
    text-align: center;
    margin-bottom: 8px;
}
.dl-sub {
    text-align: center;
    font-size: 15px;
    color: #666;
}

/* ---------- Regions ---------- */
.dl-regions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 50px;
    margin-top: 36px;
}
.dl-region-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    margin-bottom: 8px;
    color: #333;
}
.dl-region-top i { color: var(--fedex-orange); margin-right: 6px; }
.dl-region-top b { color: var(--fedex-blue); }
.dl-bar {
    height: 10px;
    background: #e8ecf3;
    border-radius: 10px;
    overflow: hidden;
}
.dl-bar span {
    display: block;
    height: 100%;
    width: var(--w);                   /* no JS: bars are simply full-width to their value */
    background: var(--fedex-orange);
    border-radius: 10px;
}
.dl-anim .dl-bar span {
    width: 0;
    transition: width 1.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.dl-anim .dl-region.in-view .dl-bar span { width: var(--w); }

/* ---------- Journey ---------- */
.dl-journey {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 44px;
}
.dl-step {
    position: relative;
    flex: 1;
    text-align: center;
}
.dl-step:not(:last-child)::after {     /* line between steps */
    content: "";
    position: absolute;
    top: 35px;
    left: calc(50% + 42px);
    width: calc(100% - 84px);
    height: 2px;
    background: #d5dbe6;
}
.dl-step-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: var(--fedex-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}
.dl-step-done .dl-step-icon { background: var(--fedex-orange); }
.dl-step h4 {
    font-size: 15px;
    color: var(--fedex-blue);
    margin-bottom: 4px;
}
.dl-step p { font-size: 13px; color: #666; }

/* ---------- Photos ---------- */
.dl-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 36px;
}
.dl-photo {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin: 0;
}
.dl-photo img {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.dl-photo:hover img { transform: scale(1.06); }
.dl-photo figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 30px 16px 14px;
    color: #fff;
    font-weight: 500;
    background: linear-gradient(transparent, rgba(11, 31, 63, 0.85));
}

/* ---------- Call to action ---------- */
.dl-cta {
    background: var(--fedex-blue);
    color: #fff;
    text-align: center;
    padding: 60px 20px;
}
.dl-cta h2 {
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 10px;
}
.dl-cta p {
    color: #dbe4f3;
    margin-bottom: 24px;
}
.dl-btn {
    display: inline-block;
    margin: 6px;
    padding: 13px 30px;
    background: var(--fedex-orange);
    color: #fff;
    font-weight: 700;
    border: 2px solid var(--fedex-orange);
    border-radius: 6px;
    transition: background 0.2s ease, color 0.2s ease;
}
.dl-btn:hover { background: #e65c00; border-color: #e65c00; }
.dl-btn.outline {
    background: transparent;
    border-color: #fff;
}
.dl-btn.outline:hover { background: #fff; color: var(--fedex-blue); }

/* ---------- Scroll reveal (only when JS is running) ---------- */
.dl-anim .dl-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.dl-anim .dl-reveal.in-view {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    .dl-box { animation: none; }
    .dl-photo img { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .dl-stats { grid-template-columns: repeat(2, 1fr); }
    .dl-regions { grid-template-columns: 1fr; }
    .dl-photos { grid-template-columns: 1fr; }
    .dl-journey { flex-direction: column; gap: 26px; }
    .dl-step:not(:last-child)::after { display: none; }
}
@media (max-width: 480px) {
    .dl-hero h1 { font-size: 36px; }
    .dl-stats { grid-template-columns: 1fr; }
    .dl-num { font-size: 30px; }
}


/* =====================================================
   ABOUT PAGE (about.html)
   (also reuses .dl-hero, .dl-section, .dl-stats, .dl-cta from the Delivered page)
===================================================== */

/* ---------- Entrance animations (only when JS is running) ---------- */
.dl-anim .ab-anim { opacity: 0; }
.dl-anim .ab-anim.in-view {
    opacity: 1;
    animation: abUp 0.8s ease backwards;
    animation-delay: var(--d, 0s);
}
.dl-anim .ab-anim.ab-left.in-view  { animation-name: abLeft; }
.dl-anim .ab-anim.ab-right.in-view { animation-name: abRight; }
.dl-anim .ab-anim.ab-pop.in-view   { animation-name: abPop; }

@keyframes abUp {
    0%   { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes abLeft {
    0%   { opacity: 0; transform: translateX(-60px); }
    100% { opacity: 1; transform: translateX(0); }
}
@keyframes abRight {
    0%   { opacity: 0; transform: translateX(60px); }
    100% { opacity: 1; transform: translateX(0); }
}
@keyframes abPop {
    0%   { opacity: 0; transform: scale(0.85); }
    100% { opacity: 1; transform: scale(1); }
}

/* ---------- Our story ---------- */
.ab-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.ab-story-text h2 {
    text-align: left;
    margin-bottom: 18px;
}
.ab-story-text p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 14px;
}
.ab-story-img { position: relative; }
/* The orange offset frame was removed. To bring it back, restore the ::after rule here. */
.ab-story-img img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,.10);   /* soft shadow instead of the frame - edit or remove */
}

/* ---------- Mission ---------- */
.ab-mission {
    background: var(--light-gray);
    margin-top: 60px;
    padding: 60px 20px;
    text-align: center;
}
.ab-mission-inner { max-width: 760px; margin: 0 auto; }
.ab-mission i {
    font-size: 40px;
    color: var(--fedex-orange);
    margin-bottom: 14px;
}
.ab-mission h3 {
    font-size: 26px;
    font-weight: 300;
    color: var(--fedex-blue);
    margin-bottom: 12px;
}
.ab-mission p {
    font-size: 19px;
    line-height: 1.7;
    color: #444;
}

/* ---------- Values ---------- */
.ab-values {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 36px;
}
.ab-value {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.ab-value:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
    border-color: var(--fedex-orange);
}
.ab-value-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--fedex-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: background 0.3s ease, transform 0.3s ease;
}
.ab-value:hover .ab-value-icon {
    background: var(--fedex-orange);
    transform: rotate(-8deg) scale(1.08);
}
.ab-value h4 { font-size: 17px; color: var(--fedex-blue); margin-bottom: 6px; }
.ab-value p  { font-size: 14px; color: #666; line-height: 1.6; }

/* ---------- Stats on the About page (no overlap with the hero) ---------- */
.dl-stats.ab-stats { margin-top: 60px; }

/* ---------- Team ---------- */
.ab-team {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 320px));
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}
.ab-member {
    position: relative;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    padding: 40px 28px 30px;
    text-align: center;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.ab-member::before {                     /* orange bar that grows on hover */
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--fedex-orange);
    transform: scaleX(0.3);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.ab-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}
.ab-member:hover::before { transform: scaleX(1); }

.ab-avatar {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    border: 4px solid var(--fedex-orange);
    background: var(--light-gray);
    color: #b9c0cc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    overflow: hidden;
}
.ab-avatar img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.ab-member:hover .ab-avatar img { transform: scale(1.08); }

.ab-role {
    display: inline-block;
    padding: 4px 14px;
    margin-bottom: 10px;
    border-radius: 20px;
    background: var(--fedex-blue);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.ab-member h3 {
    font-size: 22px;
    font-weight: 500;
    color: var(--fedex-blue);
    margin-bottom: 10px;
}
.ab-member p {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 18px;
}
.ab-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0 5px;
    border-radius: 50%;
    background: var(--fedex-blue);
    color: #fff;
    font-size: 14px;
    transition: background 0.25s ease, transform 0.25s ease;
}
.ab-social a:hover {
    background: var(--fedex-orange);
    transform: translateY(-3px);
}

/* ---------- Contact ---------- */
.ab-contact {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 36px;
    padding-bottom: 50px;
}
.ab-contact-item {
    background: var(--light-gray);
    border-radius: 10px;
    padding: 26px 16px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ab-contact-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}
.ab-contact-item i {
    font-size: 26px;
    color: var(--fedex-orange);
    margin-bottom: 10px;
}
.ab-contact-item h4 { font-size: 15px; color: var(--fedex-blue); margin-bottom: 4px; }
.ab-contact-item p  { font-size: 14px; color: #555; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .dl-anim .ab-anim.in-view { animation: none; }
    .ab-value, .ab-member, .ab-contact-item,
    .ab-value-icon, .ab-avatar img, .ab-social a { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .ab-story { grid-template-columns: 1fr; gap: 40px; }
    .ab-story-img img { height: 280px; }
    .ab-values, .ab-contact { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .ab-team { grid-template-columns: minmax(0, 340px); }
}
@media (max-width: 480px) {
    .ab-values, .ab-contact { grid-template-columns: 1fr; }
    .ab-mission p { font-size: 17px; }
}


/* ---------- "Since 2020" badge in the hero ---------- */
.ab-badge {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 22px;
    border-radius: 30px;
    background: var(--fedex-orange);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    animation: abPop 0.8s ease both, abPulse 2.6s ease-in-out 1s infinite;
}
@keyframes abPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 102, 0, 0.55); }
    50%      { box-shadow: 0 0 0 14px rgba(255, 102, 0, 0); }
}

/* ---------- Journey timeline ---------- */
.ab-timeline {
    position: relative;
    max-width: 900px;
    margin: 50px auto 0;
    padding: 10px 0;
}
.ab-timeline::before,
.ab-timeline::after {                    /* grey track + orange line that draws itself */
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    margin-left: -1.5px;
}
.ab-timeline::before { background: #e1e6ef; }
.ab-timeline::after  { background: var(--fedex-orange); transform-origin: top; }
.dl-anim .ab-timeline::after { transform: scaleY(0); }
.dl-anim .ab-timeline.in-view::after {
    transform: scaleY(1);
    transition: transform 2.4s ease 0.3s;
}

.ab-tl-item {
    position: relative;
    width: 50%;
    padding: 0 44px 44px 0;
    text-align: right;
}
.ab-tl-item:nth-child(even) {
    margin-left: 50%;
    padding: 0 0 44px 44px;
    text-align: left;
}
.ab-tl-item:last-child { padding-bottom: 0; }
.ab-tl-item::before {                    /* dot on the line */
    content: "";
    position: absolute;
    top: 4px;
    right: -9px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid var(--fedex-orange);
    z-index: 2;
}
.ab-tl-item:nth-child(even)::before { right: auto; left: -9px; }

.ab-tl-year {
    display: inline-block;
    margin-bottom: 8px;
    padding: 3px 14px;
    border-radius: 20px;
    background: var(--fedex-blue);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}
.ab-tl-now .ab-tl-year { background: var(--fedex-orange); }
.ab-tl-item h4 { font-size: 18px; color: var(--fedex-blue); margin-bottom: 6px; }
.ab-tl-item p  { font-size: 14px; line-height: 1.7; color: #666; }

@media (max-width: 768px) {
    .ab-timeline::before,
    .ab-timeline::after { left: 18px; margin-left: 0; }
    .ab-tl-item,
    .ab-tl-item:nth-child(even) {
        width: 100%;
        margin-left: 0;
        padding: 0 0 36px 52px;
        text-align: left;
    }
    .ab-tl-item::before,
    .ab-tl-item:nth-child(even)::before { left: 9px; right: auto; }
}
@media (prefers-reduced-motion: reduce) {
    .ab-badge { animation: none; }
}


/* =====================================================
   PRESS CENTER PAGE (press.html)
   (also reuses .dl-hero, .dl-section, .dl-cta and the .ab-anim animations)
===================================================== */

/* ---------- Buttons ---------- */
.pr-btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--fedex-orange);
    color: #fff;
    border: 2px solid var(--fedex-orange);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Roboto', Arial, sans-serif;
    cursor: pointer;
    text-align: center;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.pr-btn:hover { background: #e65c00; border-color: #e65c00; }
.pr-btn:active { transform: scale(0.98); }
.pr-btn.outline { background: transparent; color: var(--fedex-orange); }
.pr-btn.outline:hover { background: var(--fedex-orange); color: #fff; }
.pr-btn.small { padding: 8px 16px; font-size: 12px; }
.pr-btn.copied { background: var(--fedex-blue); border-color: var(--fedex-blue); color: #fff; }

/* ---------- Media contact card (overlaps the hero) ---------- */
.pr-contact-wrap {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: -60px auto 0;
    padding: 0 20px;
}
.pr-contact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    background: #fff;
    border-left: 6px solid var(--fedex-orange);
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    padding: 30px 36px;
}
.pr-contact h3 {
    font-size: 22px;
    font-weight: 500;
    color: var(--fedex-blue);
    margin-bottom: 8px;
}
.pr-contact h3 i { color: var(--fedex-orange); margin-right: 8px; }
.pr-contact p { font-size: 14px; color: #666; line-height: 1.6; }
.pr-contact .pr-contact-line {
    margin-top: 8px;
    font-weight: 500;
    color: var(--fedex-blue);
}
.pr-contact .pr-contact-line i { color: var(--fedex-orange); width: 22px; }

/* ---------- Latest news list ---------- */
.pr-toolbar {
    display: flex;
    justify-content: flex-end;
    margin: 30px 0 10px;
}
.pr-search {
    position: relative;
    width: 100%;
    max-width: 320px;
}
.pr-search i {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: #999;
    font-size: 14px;
}
.pr-search input {
    width: 100%;
    padding: 11px 14px 11px 38px;
    border: 1px solid #ccc;
    border-radius: 30px;
    font-size: 14px;
    font-family: 'Roboto', Arial, sans-serif;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.pr-search input:focus {
    outline: none;
    border-color: var(--fedex-purple);
    box-shadow: 0 0 0 3px rgba(77, 20, 140, 0.12);
}

.pr-item {
    display: flex;
    gap: 28px;
    padding: 24px 12px;
    border-bottom: 1px solid #e0e0e0;
    border-radius: 8px;
    animation: abUp 0.6s ease backwards;
    animation-delay: var(--d, 0s);
    transition: background 0.25s ease;
}
.pr-item[hidden] { display: none; }
.pr-item:hover { background: var(--light-gray); }
.pr-meta {
    flex: 0 0 140px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}
.pr-tag {
    padding: 3px 12px;
    border-radius: 20px;
    background: var(--fedex-blue);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.pr-date { font-size: 13px; color: #777; }
.pr-body { flex: 1; }
.pr-body h3 {
    font-size: 19px;
    font-weight: 500;
    line-height: 1.35;
    margin-bottom: 8px;
}
.pr-body h3 a { color: var(--fedex-blue); transition: color 0.2s ease; }
.pr-body h3 a:hover { color: var(--fedex-orange); }
.pr-body p { font-size: 14px; line-height: 1.7; color: #666; margin-bottom: 10px; }
.pr-more { font-size: 13px; font-weight: 600; color: var(--fedex-purple); }
.pr-more:hover { text-decoration: underline; }
.pr-empty {
    text-align: center;
    padding: 30px 0;
    font-size: 15px;
    color: #666;
}
.pr-empty[hidden] { display: none; }

/* ---------- Company facts ---------- */
.pr-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 50px;
    margin-top: 30px;
}
.pr-fact {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 15px;
}
.pr-fact span { color: #777; }
.pr-fact b { color: var(--fedex-blue); text-align: right; }

.pr-boiler {
    margin-top: 34px;
    padding: 28px;
    background: var(--light-gray);
    border-radius: 10px;
    border-left: 5px solid var(--fedex-orange);
}
.pr-boiler h4 { font-size: 17px; color: var(--fedex-blue); margin-bottom: 10px; }
.pr-boiler h4 span { font-size: 12px; font-weight: 400; color: #888; }
.pr-boiler p { font-size: 15px; line-height: 1.8; color: #444; margin-bottom: 16px; }

/* ---------- Media kit ---------- */
.pr-kit {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 36px;
}
.pr-kit-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 14px 14px 18px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.pr-kit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.1);
    border-color: var(--fedex-orange);
}
.pr-kit-preview {
    height: 140px;
    margin-bottom: 14px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
}
.pr-kit-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.pr-kit-card:hover .pr-kit-preview img { transform: scale(1.06); }
.pr-kit-logo { background: var(--fedex-blue); }
.pr-kit-logo img { width: auto; max-width: 80%; height: auto; max-height: 90px; object-fit: contain; }
.pr-kit-card h4 { font-size: 15px; color: var(--fedex-blue); margin-bottom: 12px; }

/* ---------- Brand colours ---------- */
.pr-subtitle {
    margin-top: 54px;
    text-align: center;
    font-size: 22px;
    font-weight: 300;
    color: var(--fedex-blue);
}
.pr-swatches {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 24px;
}
.pr-swatch {
    display: block;
    padding: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    text-align: left;
    font-family: 'Roboto', Arial, sans-serif;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pr-swatch:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}
.pr-swatch-color { display: block; height: 90px; border-bottom: 1px solid #e0e0e0; }
.pr-swatch-info { display: block; padding: 12px 14px; font-size: 13px; color: #666; }
.pr-swatch-info b { display: block; font-size: 14px; color: var(--fedex-blue); margin-bottom: 2px; }
.pr-swatch.copied .pr-copy-label { color: var(--fedex-orange); font-weight: 700; }
.pr-note {
    margin-top: 18px;
    text-align: center;
    font-size: 13px;
    color: #777;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .pr-item { animation: none; }
    .pr-kit-card, .pr-swatch, .pr-kit-preview img, .pr-btn { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .pr-kit, .pr-swatches { grid-template-columns: repeat(2, 1fr); }
    .pr-facts { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    .pr-contact { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
    .pr-item { flex-direction: column; gap: 10px; }
    .pr-meta { flex: none; flex-direction: row; align-items: center; gap: 12px; }
    .pr-toolbar { justify-content: stretch; }
    .pr-search { max-width: none; }
}
@media (max-width: 480px) {
    .pr-kit, .pr-swatches { grid-template-columns: 1fr; }
}


/* =====================================================
   BRAND PARTNERSHIPS PAGE (partnerships.html)
   (also reuses .dl-hero, .ab-values, .ab-contact, .dl-journey, .dl-cta and .pr-btn)
===================================================== */

/* the "who we partner with" cards can be 4 across */
.pt-types .ab-contact-item p { line-height: 1.6; }

/* ---------- Form card ---------- */
.pt-card {
    max-width: 760px;
    margin: 36px auto 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-top: 5px solid var(--fedex-orange);
    padding: 40px 38px;
}
.pt-row {
    display: flex;
    gap: 18px;
}
.pt-row .pt-group { flex: 1; min-width: 0; }
.pt-group { margin-bottom: 18px; }
.pt-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #444;
}
.pt-group input[type="text"],
.pt-group input[type="email"],
.pt-group input[type="tel"],
.pt-group select,
.pt-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
    font-family: 'Roboto', Arial, sans-serif;
    color: #333;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.pt-group textarea { resize: vertical; min-height: 120px; }
.pt-group input:focus,
.pt-group select:focus,
.pt-group textarea:focus {
    outline: none;
    border-color: var(--fedex-purple);
    box-shadow: 0 0 0 3px rgba(77, 20, 140, 0.12);
}

/* consent checkbox */
.pt-check label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 400;
    font-size: 13px;
    color: #555;
    cursor: pointer;
}
.pt-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--fedex-purple);
}

/* field errors */
.pt-error {
    display: none;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #D40511;
}
.pt-group.error .pt-error { display: block; animation: errorIn 0.4s ease; }
.pt-group.error input[type="text"],
.pt-group.error input[type="email"],
.pt-group.error input[type="tel"],
.pt-group.error select,
.pt-group.error textarea { border-color: #D40511; }
.pt-group.error input:focus,
.pt-group.error select:focus,
.pt-group.error textarea:focus { box-shadow: 0 0 0 3px rgba(212, 5, 17, 0.12); }

/* message above the form (server / network errors) */
.pt-alert {
    margin-bottom: 20px;
    padding: 12px 16px;
    border-radius: 6px;
    background: #fdecee;
    border: 1px solid #f5c2c7;
    color: #D40511;
    font-size: 14px;
    font-weight: 500;
}
.pt-alert[hidden] { display: none; }
.pt-alert.show { animation: errorIn 0.4s ease; }

/* spam trap: off-screen, never visible */
.pt-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* submit button with spinner */
.pt-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    background: var(--fedex-orange);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Roboto', Arial, sans-serif;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}
.pt-submit:hover { background: #e65c00; }
.pt-submit:active { transform: scale(0.99); }
.pt-submit:disabled { opacity: 0.7; cursor: not-allowed; }
.pt-spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 3px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: ptSpin 0.8s linear infinite;
}
.pt-submit.loading .pt-spinner { display: inline-block; }
@keyframes ptSpin { to { transform: rotate(360deg); } }

.pt-note {
    margin-top: 16px;
    text-align: center;
    font-size: 13px;
    color: #666;
}

/* ---------- Success panel ---------- */
.pt-success {
    text-align: center;
    padding: 20px 0;
    animation: abPop 0.6s ease;
}
.pt-success[hidden] { display: none; }
.pt-success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--fedex-orange);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
}
.pt-success h3 { font-size: 26px; font-weight: 400; color: var(--fedex-blue); margin-bottom: 10px; }
.pt-success p  { max-width: 460px; margin: 0 auto 22px; font-size: 15px; line-height: 1.7; color: #555; }

@media (prefers-reduced-motion: reduce) {
    .pt-spinner { animation-duration: 2s; }
    .pt-success, .pt-group.error .pt-error, .pt-alert.show { animation: none; }
}

@media (max-width: 680px) {
    .pt-card { padding: 28px 20px; }
    .pt-row { flex-direction: column; gap: 0; }
}


/* =====================================================
   FRAUD AWARENESS PAGE (fraud.html)
   (also reuses .dl-hero, .ab-values, .dl-journey, .pr-contact, .pr-btn, .dl-cta)
===================================================== */

/* ---------- Check-a-tracking-ID card (overlaps the hero) ---------- */
.fr-check {
    background: #fff;
    border-left: 6px solid var(--fedex-orange);
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    padding: 30px 36px;
}
.fr-check h3 {
    font-size: 22px;
    font-weight: 500;
    color: var(--fedex-blue);
    margin-bottom: 8px;
}
.fr-check h3 i { color: var(--fedex-orange); margin-right: 8px; }
.fr-check p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 18px;
}
.fr-check-row {
    display: flex;
    gap: 10px;
    align-items: center;
}
.fr-check-row .float-group { flex: 1; min-width: 0; }
.fr-check-row .pr-btn { height: 46px; padding: 0 26px; flex-shrink: 0; }
.fr-check .error-msg { margin-top: 10px; font-size: 13px; }

/* ---------- Warning signs ---------- */
.fr-signs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 30px;
    margin-top: 36px;
}
.fr-sign {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px;
    background: var(--light-gray);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.fr-sign:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.fr-sign > i {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    color: #D40511;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.fr-sign h4 { font-size: 15px; color: var(--fedex-blue); margin-bottom: 4px; }
.fr-sign p  { font-size: 13px; line-height: 1.6; color: #666; }

/* ---------- We will / We will never ---------- */
.fr-dodont {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 36px;
}
.fr-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 28px;
}
.fr-do   { border-top: 5px solid #1e7e46; }
.fr-dont { border-top: 5px solid #D40511; }
.fr-card h3 {
    font-size: 20px;
    font-weight: 500;
    color: var(--fedex-blue);
    margin-bottom: 16px;
}
.fr-do h3 i   { color: #1e7e46; margin-right: 8px; }
.fr-dont h3 i { color: #D40511; margin-right: 8px; }
.fr-card li {
    display: flex;
    gap: 12px;
    padding: 9px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}
.fr-card li i { margin-top: 4px; font-size: 13px; }
.fr-do li i   { color: #1e7e46; }
.fr-dont li i { color: #D40511; }

.fr-official {
    margin-top: 24px;
    padding: 18px 24px;
    text-align: center;
    background: var(--light-gray);
    border-radius: 10px;
    font-size: 14px;
    color: #444;
    line-height: 1.9;
}
.fr-official b { color: var(--fedex-blue); }

@media (max-width: 900px) {
    .fr-signs, .fr-dodont { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    .fr-check { padding: 26px 22px; }
    .fr-check-row { flex-direction: column; align-items: stretch; }
    .fr-check-row .pr-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .fr-sign { transition: none; }
}


/* =====================================================
   SUSTAINABILITY PAGE (sustainability.html)
   (reuses .dl-hero, .ab-story, .ab-values, .dl-regions, .fr-signs, .dl-cta)
===================================================== */
.su-tips .fr-sign > i { color: #1e7e46; }
/* =====================================================
   RATE PAGE (rate.html) + TRACK PAGE (track.html)
   (also reuses .dl-hero, .pr-contact-wrap, .pt-* form styles, .ab-values, .ab-contact,
    .pr-btn, .dl-cta and the abUp / abPop / abPulse / errorIn animations)
===================================================== */

/* =========================================================
   RATE PAGE
========================================================= */

/* number inputs share the same look as the other form fields */
.pt-group input[type="number"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
    font-family: 'Roboto', Arial, sans-serif;
    color: #333;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.pt-group input[type="number"]:focus {
    outline: none;
    border-color: var(--fedex-purple);
    box-shadow: 0 0 0 3px rgba(77, 20, 140, 0.12);
}
.pt-group.error input[type="number"] { border-color: #D40511; }
.pt-group.error input[type="number"]:focus { box-shadow: 0 0 0 3px rgba(212, 5, 17, 0.12); }

/* ---------- Calculator card ---------- */
.rt-card {
    max-width: 900px;
    margin: 0 auto;                      /* sits on the hero, so no top gap */
}
.rt-dims-title {
    margin: 4px 0 10px;
    font-size: 13px;
    font-weight: 600;
    color: #444;
}
.rt-dims-title span { font-weight: 400; font-size: 12px; color: #888; }
.rt-insure-row { align-items: flex-end; }
.rt-insure { display: flex; align-items: center; min-height: 46px; }
.rt-link { color: var(--fedex-purple); font-weight: 600; }
.rt-link:hover { text-decoration: underline; }

/* ---------- Results ---------- */
.rt-results-section[hidden] { display: none; }
.rt-results-section h2,
.rt-results-section .dl-sub { text-align: center; animation: abUp 0.6s ease backwards; }
.rt-results-section .dl-sub { animation-delay: 0.1s; }
.rt-results { max-width: 900px; margin: 34px auto 0; }

.rt-option {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: center;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-left: 5px solid var(--fedex-blue);
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 18px;
    animation: rtIn 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
    animation-delay: var(--d, 0s);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.rt-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
    border-left-color: var(--fedex-orange);
}
@keyframes rtIn {
    0%   { opacity: 0; transform: translateY(40px) scale(0.97); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.rt-option-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--fedex-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: background 0.3s ease, transform 0.4s ease;
}
.rt-option:hover .rt-option-icon {
    background: var(--fedex-orange);
    transform: rotate(-8deg) scale(1.08);
}

.rt-option-info h3 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
    font-size: 19px;
    font-weight: 500;
    color: var(--fedex-blue);
}
.rt-badge {
    padding: 3px 12px;
    border-radius: 20px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    animation: abPop 0.5s ease 0.6s backwards;
}
.rt-badge.best { background: #1e7e46; }
.rt-badge.fast { background: var(--fedex-orange); }

.rt-desc { margin-bottom: 10px; font-size: 13px; line-height: 1.6; color: #666; }
.rt-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin-bottom: 8px;
    font-size: 13px;
    color: #444;
}
.rt-meta i { margin-right: 4px; color: var(--fedex-orange); }

.rt-breakdown summary {
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: var(--fedex-purple);
    list-style: none;
}
.rt-breakdown summary::-webkit-details-marker { display: none; }
.rt-breakdown summary::after { content: " +"; }
.rt-breakdown[open] summary::after { content: " -"; }
.rt-breakdown dl {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px 24px;
    margin-top: 10px;
    padding: 14px;
    background: var(--light-gray);
    border-radius: 8px;
    font-size: 13px;
    color: #555;
    animation: errorIn 0.35s ease;
}
.rt-breakdown dd { text-align: right; font-weight: 500; color: var(--fedex-blue); }

.rt-option-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    text-align: right;
}
.rt-amount {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    color: var(--fedex-blue);
    font-variant-numeric: tabular-nums;
}
.rt-per { margin-bottom: 8px; font-size: 12px; color: #888; }

/* nothing available for this route */
.rt-empty {
    padding: 40px 20px;
    text-align: center;
    background: #fff;
    border: 1px dashed #ccc;
    border-radius: 12px;
    animation: abPop 0.5s ease;
}
.rt-empty p { margin-bottom: 10px; font-size: 15px; color: #555; }
.rt-empty .pr-btn { margin-top: 10px; }

/* =========================================================
   TRACK PAGE
========================================================= */
.tr-wrap { max-width: 940px; }

.tr-card {
    background: #fff;
    border-left: 6px solid var(--fedex-orange);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    padding: 32px 36px;
}
.tr-card h3 {
    margin-bottom: 18px;
    font-size: 22px;
    font-weight: 500;
    color: var(--fedex-blue);
}
.tr-card h3 i { margin-right: 8px; color: var(--fedex-orange); }

/* the box that holds the tracking inputs (overrides the home-page #tracking-input rule) */
.tr-wrap #tracking-input {
    flex: none;
    padding: 0;
    border: none;
    border-radius: 0;
    font-size: inherit;
}
.tr-input {
    display: block;
    width: 100%;
    margin-bottom: 12px;
    padding: 13px 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Roboto', Arial, sans-serif;
    animation: abUp 0.4s ease backwards;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.tr-input:focus {
    outline: none;
    border-color: var(--fedex-purple);
    box-shadow: 0 0 0 3px rgba(77, 20, 140, 0.12);
}
.tr-card .error-msg { margin: 0 0 14px; font-size: 13px; }

/* zones are shown by home.js */
#resultzone,
#errorzone { display: none; }
#resultzone { scroll-margin-top: 90px; }

/* ---------- One shipment ---------- */
.tr-shipment {
    background: #fff;
    border-top: 5px solid var(--fedex-orange);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    padding: 30px 34px;
    margin-bottom: 24px;
    animation: rtIn 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
    animation-delay: var(--d, 0s);
}
.tr-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 30px;
}
.tr-label {
    display: block;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #888;
}
.tr-id strong { font-size: 24px; letter-spacing: 0.03em; color: var(--fedex-blue); }
.tr-status {
    padding: 7px 18px;
    border-radius: 30px;
    background: var(--fedex-blue);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}
.tr-status.delivered { background: #1e7e46; }

/* progress steps */
.tr-steps {
    display: flex;
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
}
.tr-step { position: relative; flex: 1; text-align: center; }
.tr-step:not(:last-child)::after {           /* line to the next step */
    content: "";
    position: absolute;
    top: 25px;
    left: calc(50% + 30px);
    width: calc(100% - 60px);
    height: 3px;
    background: #e1e6ef;
}
.tr-step.done:not(:last-child)::after {
    background: var(--fedex-orange);
    transform-origin: left;
    animation: trLine 0.8s ease backwards;
    animation-delay: calc(var(--i, 0) * 0.25s + 0.4s);
}
@keyframes trLine {
    0%   { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}
.tr-step-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto;
    border-radius: 50%;
    background: #e1e6ef;
    color: #98a2b3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    animation: abPop 0.5s ease backwards;
    animation-delay: calc(var(--i, 0) * 0.25s + 0.2s);
}
.tr-step.done .tr-step-icon { background: var(--fedex-blue); color: #fff; }
.tr-step.current .tr-step-icon {
    background: var(--fedex-orange);
    color: #fff;
    animation:
        abPop 0.5s ease backwards calc(var(--i, 0) * 0.25s + 0.2s),
        abPulse 2.2s ease-in-out calc(var(--i, 0) * 0.25s + 0.9s) infinite;
}
.tr-shipment.delivered .tr-step.current .tr-step-icon { background: #1e7e46; }
.tr-step-label {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 500;
    color: #98a2b3;
}
.tr-step.done .tr-step-label,
.tr-step.current .tr-step-label { color: var(--fedex-blue); }

/* details */
.tr-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 10px;
}
.tr-detail span {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #888;
}
.tr-detail b { font-size: 15px; font-weight: 500; color: var(--fedex-blue); }

/* history */
.tr-shipment h4 {
    margin-bottom: 16px;
    font-size: 17px;
    font-weight: 500;
    color: var(--fedex-blue);
}
.tr-events { list-style: none; margin: 0; padding: 0 0 0 6px; }
.tr-event {
    position: relative;
    margin-left: 6px;
    padding: 0 0 22px 28px;
    border-left: 2px solid #e1e6ef;
    animation: abUp 0.6s ease backwards;
    animation-delay: calc(var(--j, 0) * 0.12s + 0.6s);
}
.tr-event:last-child { padding-bottom: 0; border-left-color: transparent; }
.tr-dot {
    position: absolute;
    left: -7px;
    top: 3px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #c7cedb;
}
.tr-event.latest .tr-dot {
    background: var(--fedex-orange);
    box-shadow: 0 0 0 4px rgba(255, 102, 0, 0.2);
}
.tr-event strong { display: block; font-size: 14px; color: #333; }
.tr-where { display: block; font-size: 13px; color: #666; }
.tr-event time { display: block; margin-top: 2px; font-size: 12px; color: #888; }

.tr-map { margin-top: 26px; border-radius: 10px; overflow: hidden; }
.tr-map iframe { display: block; width: 100%; height: 300px; border: 0; }

.tr-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
}
.tr-missing {
    margin-bottom: 20px;
    padding: 12px 16px;
    border-radius: 8px;
    background: #fff7ed;
    border: 1px solid #ffd8b0;
    color: #8a4b00;
    font-size: 14px;
    animation: errorIn 0.4s ease;
}

/* not found */
.tr-error { text-align: center; }
.tr-error-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #fdecee;
    color: #D40511;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    animation: abPop 0.6s ease;
}
.tr-error h3 { margin-bottom: 14px; }
.tr-error ul {
    max-width: 460px;
    margin: 0 auto 22px;
    padding-left: 20px;
    list-style: disc;
    text-align: left;
    font-size: 14px;
    line-height: 1.9;
    color: #555;
}

/* help cards are links */
.tr-help a.ab-contact-item { display: block; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .rt-option, .rt-badge, .rt-empty, .rt-breakdown dl,
    .rt-results-section h2, .rt-results-section .dl-sub,
    .tr-shipment, .tr-step-icon, .tr-step.done:not(:last-child)::after,
    .tr-event, .tr-input, .tr-error-icon, .tr-missing { animation: none !important; }
    .rt-option, .rt-option-icon { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .rt-option { grid-template-columns: 1fr; gap: 16px; padding: 22px; }
    .rt-option-icon { width: 54px; height: 54px; font-size: 20px; }
    .rt-option-price {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }
    .rt-per { margin-bottom: 0; }
    .rt-amount { font-size: 28px; }
    .rt-insure-row { align-items: stretch; }
}
@media (max-width: 680px) {
    .tr-card { padding: 26px 20px; }
    .tr-shipment { padding: 24px 18px; }
    .tr-steps { flex-direction: column; gap: 18px; }
    .tr-step { display: flex; align-items: center; gap: 14px; text-align: left; }
    .tr-step:not(:last-child)::after { display: none; }
    .tr-step-label { margin-top: 0; }
}


/* =====================================================
   CUSTOM QUOTE PAGE (quote.html)
   (reuses .dl-hero, .ab-values, .dl-journey, the .pt-* form styles and .dl-cta)
===================================================== */
.pt-group input[type="date"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
    font-family: 'Roboto', Arial, sans-serif;
    color: #333;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.pt-group input[type="date"]:focus {
    outline: none;
    border-color: var(--fedex-purple);
    box-shadow: 0 0 0 3px rgba(77, 20, 140, 0.12);
}
.pt-group.error input[type="date"] { border-color: #D40511; }

.qt-title {
    margin: 26px 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--light-gray);
    font-size: 16px;
    font-weight: 600;
    color: var(--fedex-blue);
}
.qt-title:first-of-type { margin-top: 0; }
.qt-title span { font-size: 12px; font-weight: 400; color: #888; }

.qt-checks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 20px;
    margin-bottom: 22px;
}
.qt-checks label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--light-gray);
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 13px;
    color: #555;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.qt-checks label:hover { border-color: var(--fedex-orange); }
.qt-checks input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--fedex-purple);
}
.qt-consent { margin-top: 4px; }

.qt-ref {
    display: inline-block;
    margin-bottom: 16px;
    padding: 8px 20px;
    border-radius: 8px;
    background: var(--light-gray);
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--fedex-blue);
}
.qt-ref[hidden] { display: none; }

@media (max-width: 680px) {
    .qt-checks { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .qt-checks { grid-template-columns: 1fr; }
}


/* =====================================================
   SUPPORT PAGE (Support.html) + CONTACT PAGE (contact.html)
   (also reuses .dl-hero, .ab-contact, .pt-* form styles, .pr-btn, .dl-cta)
===================================================== */

/* ---------- "We're open now" pill (set by home.js from site-settings.json) ---------- */
.open-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 7px 18px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    animation: abPop 0.6s ease both;
}
.open-pill:empty { display: none; }
.open-pill::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #9aa5b8;
}
.open-pill.open::before   { background: #2ecc71; animation: ctBlink 1.8s ease-in-out infinite; }
.open-pill.closed::before { background: #D40511; }
@keyframes ctBlink {
    0%, 100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.6); }
    50%      { box-shadow: 0 0 0 7px rgba(46, 204, 113, 0); }
}

/* ---------- Support: search card (overlaps the hero) ---------- */
.sp-search-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.14);
    padding: 22px 26px;
    max-width: 760px;
    margin: 0 auto;
}
.sp-search { position: relative; }
.sp-search i {
    position: absolute;
    top: 50%;
    left: 18px;
    transform: translateY(-50%);
    color: var(--fedex-orange);
    font-size: 16px;
}
.sp-search input {
    width: 100%;
    padding: 15px 18px 15px 48px;
    border: 1px solid #ccc;
    border-radius: 30px;
    font-size: 15px;
    font-family: 'Roboto', Arial, sans-serif;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.sp-search input:focus {
    outline: none;
    border-color: var(--fedex-purple);
    box-shadow: 0 0 0 3px rgba(77, 20, 140, 0.12);
}

/* link-cards (quick actions / contact options) */
.sp-actions .ab-contact-item { display: block; text-decoration: none; }
.sp-card-btn {
    width: 100%;
    border: none;
    font-family: inherit;
    cursor: pointer;
}

/* ---------- Support: FAQs ---------- */
.sp-faqs { max-width: 820px; margin: 34px auto 0; }
.sp-faq {
    margin-bottom: 12px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.sp-faq:hover { border-color: var(--fedex-orange); }
.sp-faq[open] {
    border-color: var(--fedex-orange);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}
.sp-faq summary {
    position: relative;
    padding: 18px 54px 18px 22px;
    font-size: 15px;
    font-weight: 500;
    color: var(--fedex-blue);
    cursor: pointer;
    list-style: none;
}
.sp-faq summary::-webkit-details-marker { display: none; }
.sp-faq summary::after {                 /* plus that turns into a minus */
    content: "+";
    position: absolute;
    top: 50%;
    right: 22px;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--light-gray);
    color: var(--fedex-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.sp-faq[open] summary::after {
    content: "-";
    background: var(--fedex-orange);
    color: #fff;
    transform: translateY(-50%) rotate(180deg);
}
.sp-faq p {
    padding: 0 22px 20px;
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    animation: errorIn 0.35s ease;
}
.sp-faq[hidden] { display: none; }

/* ---------- Contact: details + form side by side ---------- */
.ct-wrap { max-width: 1100px; }
.ct-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    align-items: start;
}
.ct-info { display: flex; flex-direction: column; gap: 14px; }
.ct-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #fff;
    border-left: 5px solid var(--fedex-orange);
    border-radius: 10px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.1);
    padding: 18px 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ct-card:hover {
    transform: translateX(6px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
}
.ct-card > i {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--fedex-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: background 0.3s ease;
}
.ct-card:hover > i { background: var(--fedex-orange); }
.ct-card h4 { margin-bottom: 3px; font-size: 14px; color: var(--fedex-blue); }
.ct-card p  { font-size: 14px; line-height: 1.5; color: #555; word-break: break-word; }
.ct-card a:hover { color: var(--fedex-purple); text-decoration: underline; }
.ct-chat { width: 100%; padding: 14px; }
.ct-chat i { margin-right: 6px; }

.ct-form { max-width: none; margin: 0; }
.ct-form-title {
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 500;
    color: var(--fedex-blue);
}
.ct-optional { font-weight: 400; font-size: 12px; color: #888; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .open-pill, .open-pill.open::before, .sp-faq p { animation: none; }
    .ct-card, .sp-faq summary::after { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .ct-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    .sp-search-card { padding: 16px; }
    .sp-faq summary { padding: 16px 50px 16px 16px; }
    .sp-faq p { padding: 0 16px 18px; }
}


/* =====================================================
   LEGAL PAGES, COOKIES, SITE MAP, LOCATIONS, CUSTOMS, DELIVERY, MOBILE
   (terms.html, privacy.html, legal.html, cookies.html, additional.html,
    locations.html, custom.html, manager.html, mobile.html, shipping.html, package.html)
   (also reuses .dl-hero, .pt-* forms, .ab-values, .ab-contact, .sp-faq, .dl-cta, .pr-btn)
===================================================== */

/* ---------- Legal pages ---------- */
.dl-hero.lg-hero { padding: 120px 20px 60px; }
.dl-hero.lg-hero .dl-box { font-size: 48px; margin-bottom: 12px; }
.dl-hero.lg-hero h1 { font-size: 40px; }

.lg-wrap { max-width: 820px; margin: 0 auto; padding: 40px 20px 60px; }
.lg-draft {                                   /* red reminder box: delete it once a lawyer has checked the page */
    margin-bottom: 20px;
    padding: 14px 18px;
    border-radius: 8px;
    background: #fdecee;
    border: 1px solid #f5c2c7;
    color: #D40511;
    font-size: 14px;
    font-weight: 500;
}
.lg-draft i { margin-right: 8px; }
.lg-updated { margin-bottom: 14px; font-size: 13px; color: #888; }
.lg-intro { margin-bottom: 26px; font-size: 17px; line-height: 1.8; color: #444; }
.lg-todo {                                    /* yellow highlight: replace this text */
    background: #fff3b0;
    padding: 1px 5px;
    border-radius: 3px;
    color: #5c4a00;
}

.lg-toc {
    margin-bottom: 36px;
    padding: 20px 24px;
    background: var(--light-gray);
    border-radius: 10px;
    border-left: 5px solid var(--fedex-orange);
}
.lg-toc h3 { margin-bottom: 10px; font-size: 15px; color: var(--fedex-blue); }
.lg-toc ol { margin: 0; padding-left: 20px; list-style: decimal; columns: 2; column-gap: 30px; }
.lg-toc li { margin-bottom: 6px; font-size: 14px; break-inside: avoid; }
.lg-toc a { color: var(--fedex-purple); }
.lg-toc a:hover { text-decoration: underline; }

.lg-section { margin-bottom: 34px; scroll-margin-top: 90px; }
.lg-section h2 {
    margin-bottom: 12px;
    font-size: 22px;
    font-weight: 500;
    color: var(--fedex-blue);
}
.lg-section p { margin-bottom: 12px; font-size: 15px; line-height: 1.8; color: #444; }
.lg-section ul { margin: 0 0 14px; padding-left: 22px; list-style: disc; }
.lg-section li { margin-bottom: 8px; font-size: 15px; line-height: 1.7; color: #444; }

.lg-facts { padding: 0 !important; list-style: none !important; }
.lg-facts li {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}
.lg-facts span { color: #777; }
.lg-facts b { color: var(--fedex-blue); text-align: right; }

/* ---------- Cookie banner ---------- */
.ck-banner {
    position: fixed;
    left: 16px;
    right: 96px;                               /* leaves room for the chat bubble */
    bottom: 16px;
    max-width: 760px;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    font-size: 13px;
    line-height: 1.6;
    color: #444;
    animation: abUp 0.5s ease 0.6s backwards;
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.ck-banner p { flex: 1; }
.ck-banner a { color: var(--fedex-purple); font-weight: 600; }
.ck-banner-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.ck-manage { font-size: 13px; }
.ck-hide { opacity: 0; transform: translateY(20px); }

/* ---------- Cookie settings page ---------- */
.ck-panel {
    margin-bottom: 40px;
    padding: 28px 30px;
    background: #fff;
    border-top: 5px solid var(--fedex-orange);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}
.ck-panel h2 { margin-bottom: 18px; font-size: 22px; font-weight: 500; color: var(--fedex-blue); }
.ck-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 16px 0;
    border-bottom: 1px solid #e0e0e0;
}
.ck-row h3 { margin-bottom: 4px; font-size: 16px; color: var(--fedex-blue); }
.ck-row p { font-size: 14px; line-height: 1.6; color: #666; }
.ck-switch { position: relative; display: inline-block; width: 52px; height: 28px; flex-shrink: 0; }
.ck-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.ck-switch span {
    position: absolute;
    inset: 0;
    background: #c7cedb;
    border-radius: 28px;
    transition: background 0.25s ease;
}
.ck-switch span::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s ease;
}
.ck-switch input:checked + span { background: var(--fedex-orange); }
.ck-switch input:checked + span::before { transform: translateX(24px); }
.ck-switch input:focus-visible + span { box-shadow: 0 0 0 3px rgba(77, 20, 140, 0.3); }
.ck-locked { opacity: 0.6; }
.ck-locked input { cursor: not-allowed; }
.ck-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.ck-status {
    margin-top: 14px;
    padding: 10px 14px;
    border-radius: 6px;
    background: #e9f7ef;
    border: 1px solid #b7e4c7;
    color: #1e7e46;
    font-size: 14px;
    font-weight: 500;
}
.ck-status[hidden] { display: none; }
.ck-status.show { animation: errorIn 0.4s ease; }

.ck-table-wrap { overflow-x: auto; }
.ck-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ck-table th, .ck-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid #e0e0e0; vertical-align: top; }
.ck-table th { background: var(--light-gray); color: var(--fedex-blue); font-weight: 600; }
.ck-table code { padding: 2px 6px; background: var(--light-gray); border-radius: 4px; font-size: 13px; }

/* ---------- Site map ---------- */
.sm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 20px; }
.sm-group h3 { margin-bottom: 10px; padding-bottom: 8px; border-bottom: 2px solid var(--fedex-orange); font-size: 16px; color: var(--fedex-blue); }
.sm-group ul { margin: 0; padding: 0; list-style: none; }
.sm-group li { margin-bottom: 8px; }
.sm-group a { font-size: 14px; color: var(--fedex-purple); transition: padding-left 0.2s ease; }
.sm-group a:hover { padding-left: 6px; text-decoration: underline; }

/* ---------- Shipping page: service cards that are links ---------- */
.sh-services a.ab-value { display: block; text-decoration: none; }

/* ---------- Locations ---------- */
.lc-bar {
    max-width: 820px;
    margin: 0 auto;
    padding: 22px 26px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.14);
}
.lc-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.lc-filter {
    padding: 8px 18px;
    border: 1px solid #ccc;
    border-radius: 20px;
    background: #fff;
    color: #555;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Roboto', Arial, sans-serif;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.lc-filter:hover { border-color: var(--fedex-orange); }
.lc-filter.active { background: var(--fedex-blue); border-color: var(--fedex-blue); color: #fff; }

.lc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 10px; }
.lc-card {
    display: flex;
    gap: 18px;
    padding: 24px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-left: 5px solid var(--fedex-blue);
    border-radius: 12px;
    animation: rtIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
    animation-delay: var(--d, 0s);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.lc-card:hover { transform: translateY(-5px); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12); border-left-color: var(--fedex-orange); }
.lc-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--fedex-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: background 0.3s ease;
}
.lc-card:hover .lc-icon { background: var(--fedex-orange); }
.lc-type {
    display: inline-block;
    margin-bottom: 6px;
    padding: 2px 10px;
    border-radius: 20px;
    background: var(--light-gray);
    color: var(--fedex-purple);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.lc-info h3 { margin-bottom: 6px; font-size: 18px; font-weight: 500; color: var(--fedex-blue); }
.lc-address { margin-bottom: 8px; font-size: 14px; line-height: 1.6; color: #555; }
.lc-line { display: block; margin-bottom: 4px; font-size: 13px; color: #666; }
.lc-phone { color: var(--fedex-purple); font-weight: 600; }
.lc-info .pr-btn { margin-top: 12px; }

/* ---------- Customs checklist ---------- */
.cu-card {
    max-width: 820px;
    margin: 0 auto;
    padding: 30px 34px;
    background: #fff;
    border-left: 6px solid var(--fedex-orange);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}
.cu-card h3 { margin-bottom: 8px; font-size: 22px; font-weight: 500; color: var(--fedex-blue); }
.cu-card h3 i { margin-right: 8px; color: var(--fedex-orange); }
.cu-card > p { margin-bottom: 20px; font-size: 14px; color: #666; }
.cu-card select { width: 100%; padding: 12px 14px; border: 1px solid #ccc; border-radius: 6px; font-size: 14px; font-family: 'Roboto', Arial, sans-serif; background: #fff; }
.cu-card select:focus { outline: none; border-color: var(--fedex-purple); box-shadow: 0 0 0 3px rgba(77, 20, 140, 0.12); }
.cu-result {
    margin-top: 10px;
    padding: 22px 24px;
    background: var(--light-gray);
    border-radius: 10px;
    animation: abPop 0.4s ease;
}
.cu-result[hidden] { display: none; }
.cu-result h4 { margin-bottom: 14px; font-size: 17px; font-weight: 500; color: var(--fedex-blue); }
.cu-list { margin: 0 0 14px; padding: 0; list-style: none; }
.cu-list li { margin-bottom: 10px; font-size: 14px; line-height: 1.6; color: #444; animation: abUp 0.4s ease backwards; }
.cu-list i { margin-right: 6px; color: #1e7e46; }
.cu-note { font-size: 12px; color: #888; }

/* ---------- Manage your delivery + Track by mobile ---------- */
.dm-card { max-width: 780px; margin: 0 auto; }
.pt-group[hidden] { display: none; }
.mb-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 34px; max-width: 860px; margin-left: auto; margin-right: auto; }
.mb-step { padding: 26px; background: #fff; border: 1px solid #e0e0e0; border-radius: 12px; }
.mb-step h4 { margin-bottom: 14px; font-size: 18px; font-weight: 500; color: var(--fedex-blue); }
.mb-step h4 i { margin-right: 8px; color: var(--fedex-orange); }
.mb-step ol { margin: 0 0 18px; padding-left: 20px; list-style: decimal; }
.mb-step li { margin-bottom: 8px; font-size: 14px; line-height: 1.6; color: #555; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .ck-banner, .lc-card, .cu-result, .cu-list li, .ck-status.show { animation: none; }
    .ck-switch span, .ck-switch span::before, .lc-card, .lc-icon { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .sm-grid { grid-template-columns: repeat(2, 1fr); }
    .lc-grid, .mb-steps { grid-template-columns: 1fr; }
    .lg-toc ol { columns: 1; }
}
@media (max-width: 680px) {
    .ck-banner { flex-direction: column; align-items: stretch; right: 16px; bottom: 90px; }
    .ck-banner-actions { flex-wrap: wrap; }
    .ck-row { align-items: flex-start; }
    .ck-panel { padding: 22px 18px; }
    .cu-card { padding: 24px 20px; }
    .lc-bar { padding: 16px; }
    .dl-hero.lg-hero h1 { font-size: 32px; }
}
@media (max-width: 480px) {
    .sm-grid { grid-template-columns: 1fr; }
}


/* =====================================================
   SHIP ONLINE (ship.html): the booking form
   (also reuses .dl-hero, .pt-* form styles, .rt-* bits, .pr-btn, .dl-cta)
===================================================== */
.bk-wrap { max-width: 1100px; margin: 0 auto; padding: 30px 20px 50px; }
.bk-wrap[hidden], .bk-loading[hidden] { display: none; }

.bk-loading { padding: 70px 20px; text-align: center; color: #666; }
.bk-loading p { margin-top: 14px; }
.bk-big { width: 34px !important; height: 34px !important; border-width: 4px !important; border-color: var(--light-gray) !important; border-top-color: var(--fedex-orange) !important; }

.bk-demo {
    margin-bottom: 22px;
    padding: 12px 18px;
    border-radius: 8px;
    background: #fff3b0;
    border: 1px solid #ecd75a;
    color: #5c4a00;
    font-size: 14px;
    font-weight: 500;
}
.bk-demo[hidden] { display: none; }
.bk-demo i { margin-right: 8px; }

/* ---------- progress ---------- */
.bk-steps { display: flex; list-style: none; margin: 0 0 30px; padding: 0; }
.bk-steps[hidden] { display: none; }
.bk-steps li { position: relative; flex: 1; text-align: center; color: #98a2b3; }
.bk-steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 19px;
    left: calc(50% + 24px);
    width: calc(100% - 48px);
    height: 3px;
    background: #e1e6ef;
    transition: background 0.5s ease;
}
.bk-steps li.done:not(:last-child)::after { background: var(--fedex-orange); }
.bk-steps li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 auto 8px;
    border-radius: 50%;
    background: #e1e6ef;
    font-weight: 700;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.bk-steps li b { font-size: 13px; font-weight: 600; }
.bk-steps li.done span { background: var(--fedex-blue); color: #fff; }
.bk-steps li.current span { background: var(--fedex-orange); color: #fff; transform: scale(1.12); animation: abPulse 2.2s ease-in-out infinite; }
.bk-steps li.done b, .bk-steps li.current b { color: var(--fedex-blue); }

/* ---------- form + summary ---------- */
.bk-grid { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; }
.bk-grid[hidden] { display: none; }
.bk-card {
    padding: 34px 36px;
    background: #fff;
    border-top: 5px solid var(--fedex-orange);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}
.bk-pane { animation: abUp 0.45s ease backwards; }
.bk-pane[hidden] { display: none; }
.bk-pane h2 { margin-bottom: 22px; font-size: 24px; font-weight: 400; color: var(--fedex-blue); }
.bk-hint { margin: 0 0 14px; font-size: 13px; line-height: 1.6; color: #777; }
.bk-hint[hidden] { display: none; }

.bk-nav { display: flex; gap: 12px; margin-top: 26px; }
.bk-nav .pr-btn { height: 48px; padding: 0 26px; }
.bk-nav .bk-next { flex: 1; width: auto; margin-top: 0; }
.bk-nav button[hidden] { display: none; }

.bk-summary {
    position: sticky;
    top: 90px;
    padding: 24px;
    background: var(--light-gray);
    border-radius: 12px;
    border-left: 5px solid var(--fedex-blue);
}
.bk-summary h3 { margin-bottom: 14px; font-size: 17px; color: var(--fedex-blue); }
.bk-summary dl div { margin-bottom: 12px; }
.bk-summary dt { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: #888; }
.bk-summary dd { font-size: 14px; font-weight: 500; color: #333; word-break: break-word; }
.bk-total { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 0 6px; padding-top: 14px; border-top: 1px solid #d5dbe6; }
.bk-total span { font-size: 13px; color: #666; }
.bk-total b { font-size: 26px; color: var(--fedex-blue); }

/* ---------- service choices ---------- */
.bk-options { display: flex; flex-direction: column; gap: 14px; }
.bk-option {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 18px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    animation: rtIn 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
    animation-delay: var(--d, 0s);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.bk-option:hover { border-color: var(--fedex-orange); }
.bk-option input { position: absolute; opacity: 0; pointer-events: none; }
.bk-option:has(input:checked) { border-color: var(--fedex-orange); background: #fffaf5; box-shadow: 0 6px 20px rgba(255, 102, 0, 0.18); }
.bk-option:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(77, 20, 140, 0.3); }
.bk-option-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--fedex-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: background 0.3s ease;
}
.bk-option:has(input:checked) .bk-option-icon { background: var(--fedex-orange); }
.bk-option-info h3 { margin-bottom: 3px; font-size: 17px; font-weight: 500; color: var(--fedex-blue); }
.bk-option-info p { font-size: 13px; color: #666; }
.bk-option-date { margin-top: 2px; color: var(--fedex-purple) !important; font-weight: 500; }
.bk-option-price { text-align: right; }
.bk-option-price b { display: block; font-size: 24px; color: var(--fedex-blue); }
.bk-option-price span { font-size: 12px; color: #888; }

/* ---------- review ---------- */
.bk-review { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 20px; }
.bk-review-sec { padding: 18px 20px; background: var(--light-gray); border-radius: 10px; }
.bk-review-sec h4 { margin-bottom: 10px; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--fedex-blue); }
.bk-review-sec dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 14px; }
.bk-review-sec dt { color: #888; }
.bk-review-sec dd { color: #333; text-align: right; word-break: break-word; }
.bk-review-price { grid-column: 1 / -1; }
.bk-total-line { padding-top: 8px; border-top: 1px solid #d5dbe6; font-weight: 700; color: var(--fedex-blue) !important; }
.bk-terms { margin-top: 6px; }

/* ---------- booked ---------- */
.bk-done { max-width: 640px; margin: 0 auto; padding: 40px 30px; text-align: center; background: #fff; border-radius: 12px; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1); animation: abPop 0.6s ease; }
.bk-done[hidden] { display: none; }
.bk-done h2 { margin-bottom: 10px; font-size: 28px; font-weight: 400; color: var(--fedex-blue); }
.bk-done-text { margin-bottom: 22px; font-size: 15px; color: #555; }
.bk-trackid {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 14px;
    padding: 16px 24px;
    background: var(--light-gray);
    border: 2px dashed var(--fedex-orange);
    border-radius: 10px;
}
.bk-trackid span { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: #777; }
.bk-trackid b { font-size: 26px; letter-spacing: 0.05em; color: var(--fedex-blue); }
.bk-done-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }

@media (prefers-reduced-motion: reduce) {
    .bk-pane, .bk-option, .bk-done, .bk-steps li.current span { animation: none; }
}
@media (max-width: 900px) {
    .bk-grid { grid-template-columns: 1fr; }
    .bk-summary { position: static; order: -1; }
    .bk-review { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    .bk-card { padding: 26px 18px; }
    .bk-steps li b { font-size: 11px; }
    .bk-option { grid-template-columns: auto 1fr; }
    .bk-option-price { grid-column: 1 / -1; text-align: left; display: flex; align-items: baseline; gap: 8px; }
    .bk-trackid b { font-size: 20px; }
}
@media print {
    .bk-steps, .bk-nav, .bk-done-actions, header, footer, .dl-cta { display: none !important; }
}


/* ---------- Ship online: one form for each package ("Add another package") ---------- */
.bk-pkg {
    margin-bottom: 20px;
    padding: 22px 24px 8px;
    background: var(--light-gray);
    border-left: 5px solid var(--fedex-orange);
    border-radius: 10px;
    animation: abUp 0.4s ease backwards;          /* a new package slides in */
}
.bk-pkg-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.bk-pkg-title { font-size: 17px; font-weight: 500; color: var(--fedex-blue); }
.bk-pkg-remove {
    padding: 6px 12px;
    border: 1px solid #D40511;
    border-radius: 20px;
    background: #fff;
    color: #D40511;
    font-size: 12px;
    font-weight: 600;
    font-family: 'Roboto', Arial, sans-serif;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}
.bk-pkg-remove:hover { background: #D40511; color: #fff; }
.bk-pkg-remove[hidden] { display: none; }
.bk-pkg .pt-group input[type="text"],
.bk-pkg .pt-group input[type="number"],
.bk-pkg .pt-group select { background: #fff; }
.bk-add { width: 100%; height: 48px; margin: 4px 0 18px; border-style: dashed; }
.bk-add[hidden] { display: none; }
.bk-add i { margin-right: 6px; }
@media (prefers-reduced-motion: reduce) { .bk-pkg { animation: none; } }
@media (max-width: 680px) { .bk-pkg { padding: 18px 16px 4px; } }


/* =====================================================
   SECURE PAYMENT (pay.html)
   (also reuses .bk-summary, .bk-done, .bk-demo, .bk-trackid, .pt-submit and .pr-btn)
===================================================== */
.py-wrap { max-width: 1000px; margin: 0 auto; padding: 30px 20px 50px; }
.py-state { padding: 60px 20px; text-align: center; color: #555; animation: abUp 0.4s ease; }
.py-state[hidden], .py-grid[hidden], .bk-done[hidden], .bk-demo[hidden] { display: none; }
.py-state h2 { margin: 18px 0 10px; font-size: 24px; font-weight: 400; color: var(--fedex-blue); }
.py-state p { max-width: 520px; margin: 0 auto 20px; font-size: 15px; line-height: 1.7; }
.py-icon-bad { background: #D40511 !important; margin-bottom: 4px; }

.py-grid { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; }
.py-card {
    padding: 32px 34px;
    background: #fff;
    border-top: 5px solid var(--fedex-orange);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}
.py-card h2 { margin-bottom: 20px; font-size: 22px; font-weight: 400; color: var(--fedex-blue); }
.py-summary { top: 90px; }

/* the ways to pay */
.py-methods { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.py-method {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    animation: rtIn 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
    animation-delay: var(--d, 0s);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.py-method:hover { border-color: var(--fedex-orange); }
.py-method input { position: absolute; opacity: 0; pointer-events: none; }
.py-method:has(input:checked) { border-color: var(--fedex-orange); background: #fffaf5; box-shadow: 0 6px 20px rgba(255, 102, 0, 0.18); }
.py-method:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(77, 20, 140, 0.3); }
.py-method-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--fedex-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    transition: background 0.3s ease;
}
.py-method:has(input:checked) .py-method-icon { background: var(--fedex-orange); }
.py-method-text b { display: block; font-size: 16px; font-weight: 500; color: var(--fedex-blue); }
.py-method-text span { font-size: 13px; color: #777; }

/* what shows after picking one */
.py-panel:not(:empty) { margin-bottom: 18px; padding: 20px 22px; background: var(--light-gray); border-radius: 10px; animation: abPop 0.35s ease; }
.py-panel p { margin-bottom: 14px; font-size: 14px; line-height: 1.7; color: #444; }
.py-logos { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; font-size: 34px; color: #4a5568; }
.py-pay { width: 100%; margin-top: 4px; }

/* bank details */
.py-bank { margin: 0 0 14px; }
.py-bank-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid #dde2ea; font-size: 14px; }
.py-bank-row dt { color: #777; flex-shrink: 0; }
.py-bank-row dd { display: flex; align-items: center; gap: 10px; margin: 0; font-weight: 600; color: var(--fedex-blue); text-align: right; word-break: break-all; }
.py-copy {
    padding: 3px 10px;
    border: 1px solid var(--fedex-purple);
    border-radius: 14px;
    background: #fff;
    color: var(--fedex-purple);
    font-size: 11px;
    font-weight: 600;
    font-family: 'Roboto', Arial, sans-serif;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}
.py-copy:hover { background: var(--fedex-purple); color: #fff; }
.py-secure { margin-top: 10px; font-size: 12px; color: #888; }
.py-secure i { margin-right: 6px; color: #1e7e46; }

@media (prefers-reduced-motion: reduce) { .py-state, .py-method, .py-panel { animation: none; } }
@media (max-width: 900px) {
    .py-grid { grid-template-columns: 1fr; }
    .py-summary { position: static; order: -1; }
}
@media (max-width: 680px) {
    .py-card { padding: 24px 18px; }
    .py-bank-row { flex-direction: column; align-items: flex-start; gap: 4px; }
    .py-bank-row dd { text-align: left; }
}
@media print { .py-card, .dl-cta, header, footer, .bk-done-actions { display: none !important; } }


/* =====================================================
   "HOW WOULD YOU LIKE TO SHIP?" (ship.html) + guest page extras (ship-online.html)
===================================================== */
.ch-wrap { max-width: 1100px; margin: 0 auto; padding: 40px 20px 20px; }
.ch-carry {
    max-width: 760px;
    margin: 0 auto 26px;
    padding: 12px 18px;
    border-radius: 8px;
    background: #e9f7ef;
    border: 1px solid #b7e4c7;
    color: #1e7e46;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    animation: errorIn 0.4s ease;
}
.ch-carry[hidden] { display: none; }
.ch-carry i { margin-right: 8px; }

.ch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.ch-card {
    display: flex;
    flex-direction: column;
    padding: 34px 28px 30px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-top: 5px solid var(--fedex-blue);
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.ch-card:hover { transform: translateY(-8px); box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14); border-top-color: var(--fedex-orange); }
.ch-guest { border-top-color: var(--fedex-orange); }                 /* the "ship online" card stands out a little */
.ch-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--fedex-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    transition: background 0.3s ease, transform 0.4s ease;
}
.ch-guest .ch-icon, .ch-card:hover .ch-icon { background: var(--fedex-orange); }
.ch-card:hover .ch-icon { transform: rotate(-8deg) scale(1.08); }
.ch-card h2 { margin-bottom: 20px; font-size: 20px; font-weight: 500; line-height: 1.3; color: var(--fedex-blue); }
.ch-btn { display: block; width: 100%; padding: 14px; margin-bottom: 22px; }
.ch-list { margin: 0; padding: 0; list-style: none; text-align: left; }
.ch-list li { margin-bottom: 11px; font-size: 14px; line-height: 1.6; color: #555; }
.ch-list i { margin-right: 8px; color: #1e7e46; }

/* "Have an account? Log in..." bar on the guest page */
.bk-nudge {
    margin-bottom: 22px;
    padding: 12px 18px;
    border-radius: 8px;
    background: var(--light-gray);
    border-left: 4px solid var(--fedex-blue);
    font-size: 14px;
    color: #555;
}
.bk-nudge i { margin-right: 8px; color: var(--fedex-blue); }
.bk-nudge a { color: var(--fedex-purple); font-weight: 600; }
.bk-nudge a:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) { .ch-carry { animation: none; } .ch-card, .ch-icon { transition: none; } }
@media (max-width: 900px) { .ch-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

/* ---------- Ship online: real address search + phone with country code (ship-address.js) ---------- */
.bk-addr { position: relative; }
.bk-addr[hidden], .bk-chosen[hidden], .bk-suggest[hidden], .bk-addr-msg[hidden] { display: none; }
.bk-suggest { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 4px); max-height: 280px; overflow-y: auto; background: #fff; border: 1px solid #dcdfe6; border-radius: 12px; box-shadow: 0 12px 28px rgba(11, 31, 63, 0.16); }
.bk-sug { display: flex; flex-direction: column; gap: 2px; width: 100%; padding: 12px 14px; min-height: 52px; text-align: left; background: #fff; border: 0; border-bottom: 1px solid #f0f1f5; font: inherit; color: #1f2937; cursor: pointer; }
.bk-sug:last-child { border-bottom: 0; }
.bk-sug:hover, .bk-sug:focus-visible { background: #fff3ea; outline: 0; }
.bk-sug strong { font-size: 15px; }
.bk-sug small { color: #6b7280; font-size: 13px; }
.bk-sug-none { margin: 0; padding: 14px; color: #6b7280; }
.bk-chosen { display: flex; align-items: center; gap: 10px; padding: 12px 14px; min-height: 48px; border: 1px solid #b7e4c7; background: #f0fbf4; border-radius: 10px; color: #14532d; }
.bk-chosen span { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: 14.5px; }
.bk-chosen button { min-height: 40px; padding: 0 12px; border: 0; background: transparent; color: #ff6600; font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; }
.bk-addr-msg { margin: 6px 0 0; font-size: 13px; color: #b42318; display: block; }
.bk-phone { display: flex; gap: 8px; }
.bk-phone select { flex: 0 0 128px; width: 128px; min-width: 0; }
.bk-phone input { flex: 1; min-width: 0; }
input[readonly][name$="Postal"] { background: #f5f6f8; }
@media (max-width: 480px) { .bk-phone select { flex-basis: 112px; width: 112px; } }

/* rows that stay hidden until their value exists (company registration / tax number) */
[data-site-optional][hidden] { display: none !important; }

/* =====================================================================
   SHIP PAGE sign-in block (ship.html)  -  plain text and links, no cards or boxes.
   Edit freely: colours use the same orange as the rest of the site.
   ===================================================================== */
.sh-wrap { max-width: 520px; margin: 0 auto; padding: 48px 20px 36px; text-align: center; }
.sh-title { margin: 0 0 10px; font-size: 28px; font-weight: 700; color: #26144a; }
.sh-text { margin: 0 auto 26px; max-width: 420px; font-size: 16px; line-height: 1.6; color: #5b5870; }
.sh-btn { display: inline-block; min-width: 240px; text-align: center; }
.sh-line { margin: 22px 0 0; font-size: 15px; color: #5b5870; }
.sh-line a { color: #4d148c; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.sh-alt { margin-top: 10px; font-size: 14px; }
/* HOVER: only the colour of a link changes. Delete this line if you want no hover at all. */
.sh-line a:hover { color: #ff6200; }
@media (max-width: 600px) {
  .sh-wrap { padding: 32px 18px 24px; }
  .sh-title { font-size: 24px; }
  .sh-btn { display: block; min-width: 0; width: 100%; box-sizing: border-box; }
}


/* ---------- Rows of 3 cards (Our Divisions page): centred instead of leaving an empty 4th column ---------- */
.ab-values.ab-three { grid-template-columns: repeat(3, 1fr); max-width: 960px; margin-inline: auto; }
@media (max-width: 1024px) { .ab-values.ab-three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .ab-values.ab-three { grid-template-columns: 1fr; } }


/* =====================================================================
   HOVER CONTROL  -  all the strong hover effects are calmed down HERE, in one place
   You asked for much less hover. Every card now only gets a slightly darker border and a very light shadow.
   TO EDIT:  change the two variables below, or delete a whole line to remove that effect.
     --hover-shadow : the light shadow cards get when the mouse is over them ("none" = no shadow)
     --hover-border : the border colour cards get when the mouse is over them
   TO BRING BACK A BIG EFFECT (card jumps up, icon turns, picture zooms): delete the matching rule below
   and the original effect, written earlier in this file, works again.
   ===================================================================== */
:root { --hover-shadow: 0 3px 10px rgba(0, 0, 0, 0.06); --hover-border: #c9c9c9; }

/* HOVER: cards - no jumping up/sideways any more, only a light shadow and border (edit me) */
.ab-value:hover, .ab-member:hover, .ab-contact-item:hover, .pr-kit-card:hover, .pr-swatch:hover,
.fr-sign:hover, .rt-option:hover, .ct-card:hover, .lc-card:hover, .ch-card:hover {
    transform: none !important;
    box-shadow: var(--hover-shadow) !important;
    border-color: var(--hover-border);
}
/* HOVER: round icons inside cards - no turning or growing (edit me) */
.ab-value:hover .ab-value-icon, .rt-option:hover .rt-option-icon, .ch-card:hover .ch-icon { transform: none !important; }
/* HOVER: pictures - no zoom (edit me) */
.dl-photo:hover img, .pr-kit-card:hover .pr-kit-preview img, .ab-member:hover .ab-avatar img { transform: none !important; }
/* HOVER: the coloured bar that slid across a team card - hidden (edit me) */
.ab-member:hover::before { transform: scaleX(0) !important; }
/* HOVER: social icons - no jump (edit me) */
.ab-social a:hover { transform: none !important; }


/* =====================================================================
   FORM LOOK  -  lighter borders and less padding, so forms do not feel heavy (edit the numbers to taste)
   Applies to every form card (.pt-card): quote, partnership, contact, manage delivery, mobile tracking.
   ===================================================================== */
.pt-card {
    padding: clamp(18px, 4vw, 32px);                 /* was 40px 38px */
    border-top: 0;                                   /* the thick orange top line is gone (put "3px solid var(--fedex-orange)" back if you miss it) */
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);      /* softer shadow */
    border: 1px solid #ececec;
}
.pt-group { margin-bottom: 14px; }                   /* was 18px */
.pt-row { gap: 14px; }                               /* was 18px */
.pt-group input[type="text"], .pt-group input[type="email"], .pt-group input[type="tel"],
.pt-group select, .pt-group textarea {
    border-color: #dedede;                           /* lighter field border (was #ccc) */
    padding: 10px 12px;                              /* was 12px 14px */
}
/* On phones the card has NO box of its own: the form sits straight on the page, so there is no "box inside a box" */
@media (max-width: 600px) {
    .pt-card { border: 0; box-shadow: none; padding: 4px 0; border-radius: 0; background: transparent; }
    .pt-row { flex-direction: column; gap: 0; }
}


/* ---------- Cancelled shipment on the tracking page ---------- */
/* ON HOLD notice on the tracking page (amber). HOVER: none needed - the button uses the normal .pr-btn hover (edit me). */
.tr-hold { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin: 14px 0; padding: 14px 16px; border-radius: 10px; background: #fff6e5; border: 1px solid #f3d392; color: #6b4a00; font-size: 14px; line-height: 1.5; }
.tr-hold .pr-btn { margin-top: 6px; }
.tr-cancelled { display: flex; flex-direction: column; gap: 4px; margin: 14px 0; padding: 14px 16px; border-radius: 10px; background: #fdecee; border: 1px solid #f5c2c7; color: #8a1c28; font-size: 14px; line-height: 1.5; }
.tr-status.cancelled { background: #fdecee; color: #b3202f; }

/* ON HOLD step in the tracking list (only shown while a parcel is on hold). EDIT ME: colours. */
.tr-step.hold .tr-step-icon{background:#d97706!important;color:#fff!important;box-shadow:0 0 0 6px rgba(217,119,6,.22)}
.tr-step.hold .tr-step-label{color:#b45309!important;font-weight:700}
