@font-face {
  font-family: FedExSans;
  font-style: normal;
  font-weight: 300;
  src: url("./assets/webfonts/FedExSans_W-Light.woff2") format("woff2");
}
@font-face {
  font-family: FedExSans;
  font-style: italic;
  font-weight: 300;
  src: url("./assets/webfonts/FedExSans_W-Light-Italic.woff2") format("woff2");
}
@font-face {
  font-family: FedExSans;
  font-style: normal;
  font-weight: 400;
  src: url("./assets/webfonts/FedExSans_W-Regular.woff2") format("woff2");
}
@font-face {
  font-family: FedExSans;
  font-style: italic;
  font-weight: 400;
  src: url("./assets/webfonts/FedExSans_W-Italic.woff2") format("woff2");
}
@font-face {
  font-family: FedExSans;
  font-style: normal;
  font-weight: 500;
  src: url("./assets/webfonts/FedExSans_W-Medium.woff2") format("woff2");
}
@font-face {
  font-family: FedExSans;
  font-style: normal;
  font-weight: 700;
  src: url("./assets/webfonts/FedExSans_W-Bold.woff2") format("woff2");
}
@font-face {
  font-family: FedExSans;
  font-style: italic;
  font-weight: 700;
  src: url("./assets/webfonts/FedExSans_W-Bold-Italic.woff2") format("woff2");
}
@font-face {
  font-family: FedExSansArabic;
  font-style: normal;
  font-weight: 300;
  src: url("./assets/webfonts/FedExSansArabic_W-Light.woff2") format("woff2");
}
@font-face {
  font-family: FedExSansArabic;
  font-style: normal;
  font-weight: 400;
  src: url("./assets/webfonts/FedExSansArabic_W-Regular.woff2") format("woff2");
}
@font-face {
  font-family: FedExSansArabic;
  font-style: normal;
  font-weight: 700;
  src: url("./assets/webfonts/FedExSansArabic_W-Bold.woff2") format("woff2");
}

:root {
  --primary-color: #4d148c;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

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

html,
body {
  height: 100%;
  margin: 0;
}

html {
  font-family: FedExSans, Arial, sans-serif;
}

body {
  display: flex;
  flex-direction: column;
  font-family: FedExSans, Arial, sans-serif;
  background: #ffffff;
  color: #333333;
  font-size: 14px;
  line-height: 1.42857143;
  overflow-x: hidden;
}

/* ==========================================================================
   STICKY FOOTER LAYOUT
   ========================================================================== */
.page-layout-wrapper {
  flex: 1 0 auto;
  overflow-x: hidden;
}

.site-footer {
  flex-shrink: 0;
}

/* ==========================================================================
   CONTAINER
   ========================================================================== */
.container {
  margin: 0 auto;
  max-width: 1000px;
  width: 100%;
  padding: 0 20px;
}

/* ==========================================================================
   GLOBAL NAVIGATION
   ========================================================================== */

.fedex-logo {
  display: flex;
  align-items: center;
  padding-right: 24px;
  flex-shrink: 0;
}

.fedex-logo img {
  height: 26px;
  display: block;
}

.global-nav {
  background: var(--primary-color);
  padding: 0 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Hide the real checkbox — it's only used as a state toggle */
.mobile-toggle-input {
  display: none;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}

/* ── Desktop nav list ── */
.nav-menu-list {
  display: flex;
  align-items: center;
  list-style: none;
  height: 100%;
}

/* Nav items */
.nav-item-container {
  position: relative;
  height: 100%;
}

.nav-item-container > a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

/* Desktop: hover opens dropdown */
.nav-item-container:hover > a {
  background: #ffffff;
  color: var(--primary-color);
}

/* Arrow added by JS — hidden on desktop */
.mobile-dropdown-arrow {
  display: none;
}

/* Dropdown panel — desktop */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  min-width: 275px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  list-style: none;
  display: none;
  flex-direction: column;
  border-top: 1px solid #e0e0e0;
  z-index: 1100;
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu li a {
  display: block;
  padding: 14px 24px;
  color: #333333;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  border-bottom: 1px solid #f2f2f2;
  transition: background 0.15s ease, color 0.15s ease;
}

.dropdown-menu li a:hover {
  background: #f5f5f5;
  color: var(--primary-color);
}

.dropdown-menu li.featured-action-item a {
  color: #007ab7;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  border-bottom: none;
  padding-top: 16px;
  padding-bottom: 16px;
}

.dropdown-menu li.featured-action-item a:hover {
  background: #f0f7fc;
  color: #005a87;
}

/* Desktop: CSS :hover shows the dropdown */
.nav-item-container:hover .dropdown-menu {
  display: flex;
}

/* Right-side utility */
.nav-utility-group {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.nav-utility-group a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.nav-utility-group a:hover {
  opacity: 0.9;
}

.nav-utility-group .user-icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #ffffff;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  font-size: 12px;
}

/* Hamburger trigger — hidden on desktop */
.mobile-nav-trigger {
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #ffffff;
  font-size: 26px;
  flex-shrink: 0;
  padding: 4px;
  user-select: none;
}

/* Default: show ☰, hide ✕ */
.mobile-nav-trigger .close-icon {
  display: none;
}
.mobile-nav-trigger .open-icon {
  display: block;
}

/* When checkbox checked: swap icons */
.mobile-toggle-input:checked ~ .nav-wrapper .mobile-nav-trigger .open-icon {
  display: none;
}
.mobile-toggle-input:checked ~ .nav-wrapper .mobile-nav-trigger .close-icon {
  display: block;
}

/* ==========================================================================
   HERO SECTION & TRACKING WIDGET
   ========================================================================== */
.hero-container {
  position: relative;
  background-color: #fafafa;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
    url("/assets/images/banner.png");
  background-size: cover;
  background-position: center 30%;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 40px 20px;
}

.hero-heading {
  color: #ffffff;
  font-size: 42px;
  font-weight: 300;
  margin-bottom: 30px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.widget-panel {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
}

.tab-row {
  display: flex;
  width: calc(100% - 100px);
  justify-content: center;
  align-items: end;
}

.tab-item {
  flex: 1;
  border: none;
  color: #333333;
  padding: 16px 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 120px;
  gap: 6px;
  transition: background 0.2s, color 0.2s;
  background: rgba(255,255,255,0.85);
}

.tab-item svg {
  display: block;
  margin: 0 auto;
  width: 40px;
  height: 40px;
}

.tab-item i {
  font-size: 24px;
}

.tab-item:last-child {
  border-right: none;
}

.tab-item.active-tab {
  background: var(--primary-color);
  height: 140px;
  color: #ffffff;
}

.tab-item:hover:not(.active-tab) {
  background: #ffffff;
}

.tracking-action-form {
  width: 100%;
}

.search-input-area {
  display: flex;
  gap: 4px;
  width: 100%;
  padding: 24px 24px 16px;
  margin-top: 26px;
}

.search-input-area input {
  flex: 1;
  padding: 24px 16px;
  border: 1px solid #ccc;
  font-size: 15px;
  outline: none;
  color: #333333;
  min-width: 0;
}

.search-input-area input:focus {
  border-color: var(--primary-color);
}

.search-submit-btn {
  background: #ff6200;
  color: #ffffff;
  border: none;
  padding: 0 36px;
  padding-inline: 2.5rem;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}

.search-submit-btn:hover {
  background: #e05500;
}

.widget-links-footer {
  padding: 0 24px 24px;
  font-size: 13px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.widget-links-footer a {
  color: #ffffff;
  font-size: 0.875rem !important;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  text-decoration: none;
}

.widget-links-footer a:hover {
  text-decoration: underline;
}

.widget-links-footer span {
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   SYSTEM ALERT BANNER
   ========================================================================== */
.system-alert-banner {
  border: 1px solid #fbeed5;
  border-left: 5px solid #f0ad4e;
  margin: 30px auto;
  padding: 15px 20px;
  max-width: 1200px;
  background-color: #fcf8e3;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-radius: 4px;
}

.system-alert-banner i {
  color: #f0ad4e;
  font-size: 20px;
  margin-top: 2px;
  flex-shrink: 0;
}

.system-alert-banner p {
  font-size: 14px;
  color: #66512c;
  line-height: 1.5;
}

.system-alert-banner a {
  color: var(--primary-color);
  font-weight: 700;
  text-decoration: underline;
}

/* ==========================================================================
   MARKETING SPLIT SECTION
   ========================================================================== */
.promo-split-card {
  display: flex;
  max-width: 1200px;
  margin: 0 auto 40px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  background: #ffffff;
}

.promo-graphic-pane {
  flex: 1;
  min-width: 380px;
  background:
    linear-gradient(rgba(77, 20, 140, 0.85), rgba(77, 20, 140, 0.85)),
    url("https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?auto=format&fit=crop&w=600&q=80");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 40px;
}

.promo-typo-heading {
  color: #ffffff;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.promo-typo-heading span.highlight-orange {
  color: #ff6200;
}

.promo-copy-pane {
  padding: 40px;
  flex: 1.2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
}

.promo-copy-pane p {
  color: #444444;
  font-size: 15px;
  line-height: 1.6;
}

.btn-action-outline {
  display: inline-block;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 25px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-action-outline:hover {
  background: var(--primary-color);
  color: #ffffff;
}

/* ==========================================================================
   BUSINESS RESOURCE MODULE
   ========================================================================== */
.business-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px 50px;
}

.section-title {
  text-align: center;
  font-size: 28px;
  font-weight: 300;
  margin-bottom: 35px;
  color: #333333;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.resource-card {
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

.resource-card-img {
  height: 180px;
  margin-bottom: 20px;
  background-size: cover;
  background-position: center;
  border-radius: 2px;
}

.img-res-1 {
  background-image: url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=400&q=80");
}

.img-res-2 {
  background-image: url("https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&w=400&q=80");
}

.img-res-3 {
  background-image: url("https://images.unsplash.com/photo-1578575437130-527eed3abbec?auto=format&fit=crop&w=400&q=80");
}

.resource-card h3 {
  font-size: 18px;
  font-weight: 400;
  color: #333333;
  margin-bottom: 12px;
}

.resource-card p {
  font-size: 14px;
  color: #666666;
  line-height: 1.5;
  margin-bottom: 15px;
  flex-grow: 1;
}

.resource-card a {
  color: var(--primary-color);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.resource-card a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   NEWS GRID PANEL
   ========================================================================== */
.news-wrapper-outer {
  background: #f5f5f5;
  padding: 50px 20px;
  border-top: 1px solid #e0e0e0;
}

.news-container-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  background: #ffffff;
  border-top: 4px solid var(--primary-color);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.news-visual-aside {
  width: 320px;
  background: #e4eef8
    url("https://images.unsplash.com/photo-1544620347-c4fd4a3d5957?auto=format&fit=crop&w=400&q=80")
    center center;
  background-size: cover;
  position: relative;
  flex-shrink: 0;
}

.news-content-main {
  padding: 35px 40px;
  flex: 1;
  min-width: 0;
}

.news-content-main h2 {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 15px;
  color: #333333;
}

.news-critical-link {
  font-size: 14px;
  font-weight: 700;
  color: #cc0000;
  margin-bottom: 24px;
  text-decoration: underline;
  display: inline-block;
}

.news-item-row {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f0f0f0;
}

.news-item-row:last-of-type {
  border-bottom: none;
  margin-bottom: 25px;
}

.news-item-row a {
  color: var(--primary-color);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.4;
}

.news-item-row a:hover {
  text-decoration: underline;
}

.news-timestamp {
  font-size: 12px;
  color: #777777;
  margin-top: 5px;
}

.btn-view-all-news {
  display: inline-block;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 25px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-view-all-news:hover {
  background: var(--primary-color);
  color: #ffffff;
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */
.site-footer {
  background: #fafafa;
  border-top: 1px solid #e0e0e0;
  padding-top: 45px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.footer-columns-container {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 20px;
  display: flex;
  /* grid-template-columns: repeat(4, 1fr); */
  justify-content: space-between;
  gap: 40px;
}

.footer-column h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #333333;
  margin-bottom: 16px;
  padding-bottom: 6px;
  border-bottom: 1px solid #e0e0e0;
}

.footer-column a {
  display: inline-flex;
  font-size: 13px;
  color: #666666;
  margin-bottom: 10px;
  margin-left: 10px;
  margin-right: 10px;
  text-decoration: none;
}

.footer-column a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.language-indicator-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #333333;
  margin-bottom: 12px;
  font-weight: 700;
}

.language-indicator-row i {
  font-size: 16px;
}

.language-selector-dropdown {
  border: 1px solid #cccccc;
  padding: 10px;
  border-radius: 3px;
  font-size: 13px;
  width: 100%;
  background: #ffffff;
  color: #333333;
  cursor: pointer;
}

.social-follow-header {
  max-width: 1200px;
  margin: 0 auto 12px;
  padding: 0 20px;
  font-size: 12px;
  font-weight: 700;
  color: #333333;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.social-links-row {
  max-width: 1200px;
  margin: 0 auto 30px;
  padding: 0 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-circular-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
}

.social-circular-icon:hover {
  opacity: 0.85;
}

.footer-bottom-meta {
  margin: 0 auto;
  border-top: 1px solid #e0e0e0;
  padding: 20px 40px;
  font-size: 12px;
  color: white;
  background-color: var(--primary-color);
}

.footer-bottom-meta .footer-container {
  padding: 0;
}

.footer-meta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.footer-meta-links a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
}

.footer-meta-links a:hover {
  text-decoration: underline;
  color: #ffccaa;
}

/* ==========================================================================
   CLEAN DROPDOWN WIDGET
   ========================================================================== */
.clean-dropdown {
  position: relative;
  width: 100%;
}

.clean-dropdown .dropdown-trigger-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cccccc;
  border-radius: 4px;
  font-size: 14px;
  color: #333333;
  background-color: #ffffff;
  cursor: pointer;
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.clean-dropdown #dropdownCurrentText {
  text-align: left;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 10px;
}

.arrow-indicator {
  font-size: 14px;
  color: #666666;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.dropdown-trigger-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cccccc;
  border-radius: 4px;
  font-size: 14px;
  color: #333333;
  background-color: #ffffff;
  cursor: pointer;
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.dropdown-trigger-btn:hover {
  border-color: #999999;
}

.clean-dropdown.is-active .dropdown-trigger-btn {
  border-color: var(--primary-color, #4d148c);
  box-shadow: 0 0 0 3px rgba(77, 20, 140, 0.1);
}

.clean-dropdown.is-active .arrow-indicator {
  transform: rotate(180deg);
  color: var(--primary-color, #4d148c);
}

.dropdown-popup-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  z-index: 999;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  box-sizing: border-box;
  display: none;
}

.clean-dropdown.is-active .dropdown-popup-list {
  display: block;
}

.dropdown-popup-list li {
  padding: 10px 14px;
  font-size: 14px;
  color: #333333;
  cursor: pointer;
  transition: background-color 0.12s ease, color 0.12s ease;
}

.dropdown-popup-list li:hover {
  background-color: #f3ebf7;
  color: var(--primary-color, #4d148c);
}

.dropdown-popup-list li.selected-active {
  font-weight: 700;
  color: var(--primary-color, #4d148c);
  background-color: #fbf9fc;
}

/* ==========================================================================
   RESPONSIVE — TABLETS (max 992px)
   ========================================================================== */
@media (max-width: 992px) {
  .resource-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .promo-split-card {
    flex-direction: column;
  }

  .promo-graphic-pane {
    min-width: unset;
    min-height: 200px;
  }

  .news-container-inner {
    flex-direction: column;
  }

  .news-visual-aside {
    width: 100%;
    height: 220px;
  }

  .news-content-main {
    padding: 28px 30px;
  }

  .footer-columns-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .global-nav {
    padding: 0 20px;
  }
}

/* ==========================================================================
   RESPONSIVE — HAMBURGER NAV (max 860px)
   ========================================================================== */
@media (max-width: 860px) {
  /* Nav becomes height:auto to accommodate the expanded menu */
  .global-nav {
    padding: 0;
  }

  .nav-wrapper {
    flex-wrap: wrap;
    padding: 0 16px;
    height: auto;
    min-height: 60px;
    align-items: center;
    row-gap: 0;
  }

  /* Logo sits left */
  .fedex-logo {
    padding-right: 0;
    flex: 1;
    height: 60px;
    display: flex;
    align-items: center;
  }

  /* Hide Sign In — tight on mobile */
  .nav-utility-group {
    display: none;
  }

  /* Show hamburger */
  .mobile-nav-trigger {
    display: flex;
    height: 60px;
    align-items: center;
  }

  /* Nav list: hidden by default, full width, below the bar */
  .nav-menu-list {
    display: none;
    flex-direction: column;
    width: 100%;
    height: auto;
    background-color: #3a0f6e;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 8px;
    align-items: stretch;
  }

  /* Open state via checkbox */
  .mobile-toggle-input:checked ~ .nav-wrapper .nav-menu-list {
    display: flex;
  }

  /* Each nav item full width */
  .nav-item-container {
    width: 100%;
    height: auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .nav-item-container > a {
    padding: 14px 20px;
    height: auto;
    font-size: 15px;
    justify-content: space-between;
  }

  .nav-item-container > a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
  }

  /* Show the arrow on mobile */
  .mobile-dropdown-arrow {
    display: inline;
    font-style: normal;
    transition: transform 0.2s;
  }

  .nav-item-container.mobile-open > a .mobile-dropdown-arrow {
    display: inline-block;
    transform: rotate(180deg);
  }

  /* Dropdown: hidden by default on mobile, shown when .mobile-open */
  .dropdown-menu {
    position: static;
    display: none;            /* collapsed by default */
    flex-direction: column;
    box-shadow: none;
    border: none;
    border-top: none;
    background-color: rgba(0, 0, 0, 0.2);
    min-width: unset;
    width: 100%;
  }

  /* JS adds .mobile-open to the parent li to expand */
  .nav-item-container.mobile-open .dropdown-menu {
    display: flex;
  }

  /* Desktop :hover must NOT trigger on mobile — override it */
  .nav-item-container:hover .dropdown-menu {
    display: none;
  }
  .nav-item-container.mobile-open .dropdown-menu {
    display: flex !important;
  }

  .dropdown-menu li a {
    padding: 11px 20px 11px 36px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .dropdown-menu li a:hover {
    background: rgba(255, 255, 255, 0.07);
    color: #ff6200;
  }

  .dropdown-menu li.featured-action-item a {
    color: #ffbb88;
  }

  .dropdown-menu li.featured-action-item a:hover {
    background: rgba(255, 255, 255, 0.07);
    color: #ff6200;
  }
}

/* ==========================================================================
   RESPONSIVE — LARGE PHONES (max 768px)
   ========================================================================== */
@media (max-width: 768px) {
  /* Hero */
  .hero-container {
    min-height: 400px;
    padding: 30px 16px;
  }

  .hero-heading {
    font-size: 30px;
    margin-bottom: 20px;
  }

  .tab-row {
    width: 100%;
  }

  .tab-item {
    height: 90px;
    font-size: 11px;
    padding: 10px 6px;
    letter-spacing: 0;
  }

  .tab-item i {
    font-size: 20px;
  }

  .tab-item.active-tab {
    height: 110px;
  }

  .search-input-area {
    flex-direction: column;
    padding: 16px 16px 12px;
    margin-top: 16px;
    gap: 8px;
  }

  .search-submit-btn {
    width: 100%;
    padding: 16px;
    font-size: 14px;
  }

  .widget-links-footer {
    padding: 0 16px 16px;
    gap: 12px;
  }

  /* Promo section */
  .promo-graphic-pane {
    padding: 28px 20px;
    min-height: 160px;
  }

  .promo-typo-heading {
    font-size: 22px;
  }

  .promo-copy-pane {
    padding: 28px 20px;
  }

  /* Resource grid */
  .resource-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-title {
    font-size: 22px;
    margin-bottom: 24px;
  }

  /* News */
  .news-wrapper-outer {
    padding: 36px 16px;
  }

  .news-content-main {
    padding: 24px 20px;
  }

  .news-content-main h2 {
    font-size: 20px;
  }

  /* Alert banner */
  .system-alert-banner {
    margin: 20px 16px;
  }

  /* Footer */
  .footer-columns-container {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 0 16px;
    margin-bottom: 30px;
  }

  .footer-bottom-meta {
    padding: 16px 20px;
  }

  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 0;
  }

  .footer-meta-links {
    gap: 0;
  }

  .footer-meta-links a {
    margin-left: 0;
    margin-right: 16px;
  }

  .social-follow-header,
  .social-links-row {
    padding: 0 16px;
  }
}

/* ==========================================================================
   RESPONSIVE — SMALL PHONES (max 600px)
   ========================================================================== */
@media (max-width: 600px) {
  .hero-heading {
    font-size: 24px;
  }

  .footer-columns-container {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .promo-split-card {
    margin: 0 0 30px;
  }

  .business-section {
    padding: 16px 16px 36px;
  }

  .news-visual-aside {
    height: 160px;
  }
}

/* ==========================================================================
   RESPONSIVE — VERY SMALL PHONES (max 400px)
   ========================================================================== */
@media (max-width: 400px) {
  .fedex-logo img {
    height: 22px;
  }

  .hero-heading {
    font-size: 20px;
  }

  .tab-item {
    font-size: 10px;
    height: 80px;
    padding: 8px 4px;
  }

  .tab-item i {
    font-size: 18px;
  }

  .tab-item.active-tab {
    height: 96px;
  }
}