/* ==========================================================================
   Atlantic Trade — layout fixes v2 (navbar, about, cards, why, FAQ, CTA)
   ========================================================================== */

/* ---- Navbar: light bar, readable logo, no white box ---- */
.at-header .at-topbar,
.at-header .rs-header__topbar {
  background: var(--brand-navy-deep) !important;
  padding: 8px 0 !important;
}

.at-header .rs-header__info ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 18px;
}

.at-header .rs-header__info ul li,
.at-header .rs-header__info ul li a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 13px !important;
}

.at-header .rs-header__info i {
  color: var(--brand-crimson) !important;
}

.at-topbar-email {
  text-align: right;
}

.at-nav-bar,
.at-header .rs-header__main-box,
.at-header .rs-header__main-box[style] {
  background: #ffffff !important;
  border-bottom: 1px solid var(--brand-silver) !important;
  box-shadow: 0 8px 24px rgba(11, 31, 58, 0.06) !important;
}

.at-nav-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 78px;
  gap: 24px;
}

.at-logo-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  text-decoration: none !important;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.at-logo-link img {
  height: 52px !important;
  width: auto !important;
  max-height: 52px !important;
  display: block;
  filter: none !important;
}

.at-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.at-logo-text strong {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--brand-navy);
  letter-spacing: -0.01em;
}

.at-logo-text em {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-crimson);
}

.at-nav-right {
  display: flex !important;
  align-items: center !important;
  gap: 8px;
}

.at-header .main-menu ul.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
}

.at-header .main-menu ul.nav-menu > li > a {
  color: var(--text-primary) !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  padding: 10px 14px !important;
  border-radius: 4px;
}

.at-header .main-menu ul.nav-menu > li > a:hover {
  color: var(--brand-crimson) !important;
  background: rgba(232, 176, 8, 0.06);
}

.at-nav-cta {
  margin-left: 12px !important;
  padding: 11px 20px !important;
  font-size: 14px !important;
}

.at-header .rs-header-toggle span {
  background: var(--brand-navy) !important;
}

.at-header .rs-header-toggle span.black {
  background: var(--brand-crimson) !important;
}

.at-logo-link--light img {
  height: 48px !important;
  background: #fff;
  padding: 6px;
  border-radius: 4px;
}

/* Hero spacing under new lighter header */
.rs-banner {
  margin-top: 0 !important;
  padding-top: 150px !important;
}

/* ---- About: breathing room + balanced layout ---- */
.at-about-row {
  --bs-gutter-x: 4rem;
  row-gap: 2.5rem !important;
}

.at-about-media {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.at-about-media img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

.at-about-copy {
  padding-left: 12px;
}

.at-about-copy > span {
  display: inline-block;
  border-left: 3px solid var(--brand-crimson);
  padding-left: 12px;
  margin-bottom: 14px;
  color: var(--brand-crimson) !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.at-about-copy .title {
  margin-bottom: 18px !important;
}

.at-about-copy p {
  margin-bottom: 24px !important;
  max-width: 38rem;
}

.at-about-copy ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.at-stats {
  background: var(--brand-surface) !important;
  border: 1px solid var(--brand-silver) !important;
  border-radius: 8px !important;
  padding: 20px !important;
}

.at-stat-item {
  text-align: left !important;
  padding: 8px 12px !important;
}

.at-stat-item .title {
  color: var(--brand-navy) !important;
  font-size: 30px !important;
  margin-bottom: 4px !important;
}

.at-stat-item > span {
  color: var(--text-muted) !important;
  font-size: 13px !important;
}

/* ---- Export cards: full redesign ---- */
.at-export-section {
  background: var(--brand-surface) !important;
}

.at-export-card {
  display: block !important;
  background: var(--brand-white);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none !important;
  color: inherit !important;
  box-shadow: 0 12px 32px rgba(11, 31, 58, 0.08);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid transparent;
}

.at-export-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(11, 31, 58, 0.14);
  border-color: rgba(232, 176, 8, 0.25);
}

.at-export-card__media {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.at-export-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7, 20, 38, 0.55));
}

.at-export-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.at-export-card:hover .at-export-card__media img {
  transform: scale(1.06);
}

.at-export-card__body {
  padding: 22px 22px 26px;
}

.at-export-card__body .title {
  font-size: 20px !important;
  color: var(--text-primary) !important;
  margin: 0 0 10px !important;
}

.at-export-card__body p {
  color: var(--text-muted) !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
  margin: 0 0 16px !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.at-export-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-crimson) !important;
  font-weight: 600;
  font-size: 14px;
}

/* ---- Why us: split panel, equal height ---- */
.at-why {
  background: transparent !important;
  padding: 0 !important;
}

.at-why-row {
  min-height: 560px;
}

.at-why-copy {
  background: var(--brand-navy);
  height: 100%;
  min-height: 560px;
  padding: 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.at-why-copy .section-title {
  text-align: left !important;
  margin-bottom: 28px !important;
}

.at-why-copy .section-title .title span {
  color: rgba(255, 255, 255, 0.72) !important;
  font-weight: 400;
}

.at-why-copy .rs-why-choose__list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.at-why-copy .rs-why-choose__list ul li {
  color: var(--brand-silver) !important;
  padding: 14px 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 16px;
}

.at-why-copy .rs-why-choose__list ul li i {
  color: var(--brand-crimson) !important;
  font-size: 20px;
  margin-top: 2px;
}

.at-why-media {
  height: 100%;
  min-height: 560px;
}

.at-why-media img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  display: block;
}

/* ---- Import cards: brand-new layout ---- */
.at-import-section {
  background: var(--brand-white);
}

.at-import-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none !important;
  color: inherit !important;
  background: var(--brand-surface);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--brand-silver);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.at-import-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.at-import-card__img {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.at-import-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.at-import-card:hover .at-import-card__img img {
  transform: scale(1.05);
}

.at-import-card__index {
  position: absolute;
  left: 16px;
  top: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-crimson);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  font-family: var(--font-sans);
}

.at-import-card__content {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: var(--brand-white);
}

.at-import-card__content .title {
  font-size: 22px !important;
  color: var(--text-primary) !important;
  margin: 0 0 12px !important;
}

.at-import-card__content p {
  color: var(--text-muted) !important;
  margin: 0 0 20px !important;
  flex: 1;
  font-size: 15px;
  line-height: 1.6;
}

.at-import-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-navy) !important;
  font-weight: 600;
  font-size: 14px;
  border-top: 1px solid var(--brand-silver);
  padding-top: 16px;
}

.at-import-card:hover .at-import-card__cta {
  color: var(--brand-crimson) !important;
}

/* Kill leftover old work-progress chrome if any remains */
.rs-work-progress__item .rs-top-inner::before,
.rs-work-progress__item .rs-top-inner::after,
.rs-work-progress__item::before,
.rs-work-progress__item::after {
  display: none !important;
}

/* ---- Newsletter CTA: gap between field and button ---- */
.rs-cta__form .input-box {
  display: flex !important;
  align-items: stretch !important;
  gap: 12px !important;
  background: transparent !important;
}

.rs-cta__form .input-box input {
  flex: 1;
  height: 56px !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 0 18px !important;
  margin: 0 !important;
}

.rs-cta__form .input-box button {
  height: 56px !important;
  min-width: 180px;
  margin: 0 !important;
  border-radius: 6px !important;
  padding: 0 22px !important;
  white-space: nowrap;
}

.rs-cta {
  padding: 64px 0 !important;
}

.rs-cta .container {
  max-width: 1140px;
}

/* Footer logo cleanup */
.rs-footer__about > a {
  display: inline-block;
  background: #fff;
  padding: 10px 12px;
  border-radius: 6px;
  margin-bottom: 18px;
}

.rs-footer__about > a img {
  height: 48px;
  width: auto;
}

/* Responsive */
@media (max-width: 991px) {
  .at-logo-text {
    display: none;
  }

  .at-about-media img {
    height: 360px;
  }

  .at-about-copy {
    padding-left: 0;
  }

  .at-why-copy,
  .at-why-media,
  .at-why-media img,
  .at-why-row {
    min-height: 420px;
  }

  .at-why-copy {
    padding: 48px 28px;
  }

  .at-nav-cta {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .rs-cta__form .input-box {
    flex-direction: column !important;
  }

  .rs-cta__form .input-box input,
  .rs-cta__form .input-box button {
    width: 100%;
    min-width: 0;
  }

  .at-topbar {
    display: none;
  }

  .rs-banner {
    padding-top: 120px !important;
  }
}

/* Override earlier white logo plate */
.rs-logo-area a,
.at-header .rs-logo-area a {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.at-header .rs-logo-area img {
  max-height: 52px !important;
  height: 52px !important;
  width: auto !important;
}

/* Sticky header stays light */
.at-header.sticky .at-nav-bar,
.at-header .rs-header__main-box.sticky,
header.sticky .at-nav-bar {
  background: #ffffff !important;
}

.at-export-carousel .owl-item {
  padding-bottom: 8px;
}

.at-export-carousel .owl-stage-outer {
  padding-top: 8px;
}

.section-title .title a {
  color: inherit !important;
  text-decoration: none !important;
}

.section-title .title a:hover {
  color: var(--brand-crimson) !important;
}
