/* JMC Cargo redesign layer: keeps existing content, improves presentation. */
:root {
  --jmc-navy: #103f84;
  --jmc-navy-deep: #08295e;
  --jmc-navy-dark: #041b42;
  --jmc-blue: #174f9e;
  --jmc-blue-soft: #eaf3ff;
  --jmc-orange: #ff7908;
  --jmc-orange-deep: #e96c00;
  --jmc-mint: #d8f8ea;
  --jmc-ink: #14213d;
  --jmc-muted: #5b6780;
  --jmc-line: #dbe5f1;
  --jmc-soft: #f5f8fc;
  --jmc-white: #ffffff;
}

body {
  color: var(--jmc-ink);
  background: linear-gradient(180deg, #f7fbff 0, #fff 340px);
  font-family: "Inter", "Poppins", Arial, sans-serif;
}

body::selection {
  background: var(--jmc-orange);
  color: var(--jmc-white);
}

p,
li {
  line-height: 1.72;
}

a {
  color: var(--jmc-navy);
}

a:hover {
  color: var(--jmc-orange);
}

.header {
  background: linear-gradient(90deg, var(--jmc-navy-dark), var(--jmc-navy)) !important;
  box-shadow: 0 14px 36px rgba(4, 27, 66, .2);
  min-height: 82px;
  border-bottom: 3px solid var(--jmc-orange);
}

.header .logo img {
  max-width: 300px;
  height: auto;
  padding: 4px 0;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .18));
}

.navbar a,
.navbar a:focus {
  color: rgba(255, 255, 255, .94);
  font-weight: 700;
  letter-spacing: 0;
}

.navbar .active,
.navbar .active:focus,
.navbar a:hover,
.navbar li:hover > a {
  color: #ffd5b0;
}

.navbar .dropdown ul {
  border: 1px solid var(--jmc-line);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(16, 63, 132, .16);
}

.navbar .dropdown ul a,
.navbar .dropdown ul a:focus {
  color: var(--jmc-ink);
}

.navbar .dropdown ul a:hover {
  color: var(--jmc-orange);
  background: var(--jmc-blue-soft);
}

.mobile-nav-show,
.mobile-nav-hide {
  color: var(--jmc-white) !important;
}

@media (max-width: 1279px) {
  .mobile-nav-show,
  .mobile-nav-hide {
    display: grid !important;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-left: auto;
    border-radius: 8px;
    background: var(--jmc-orange);
    color: var(--jmc-white) !important;
    box-shadow: 0 12px 24px rgba(255, 121, 8, .28);
  }

  .mobile-nav-hide.d-none,
  .mobile-nav-show.d-none {
    display: none !important;
  }

  .mobile-nav-hide {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
  }

  .navbar ul {
    background: linear-gradient(180deg, var(--jmc-navy-dark), var(--jmc-navy)) !important;
    border-left: 4px solid var(--jmc-orange);
  }

  .navbar a,
  .navbar a:focus {
    color: var(--jmc-white) !important;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

  .navbar .dropdown ul a,
  .navbar .dropdown ul a:focus {
    color: var(--jmc-ink) !important;
  }
}

.breadcrumbs .page-header,
.hero {
  position: relative;
  overflow: hidden;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(255, 121, 8, .24), transparent 28%),
    linear-gradient(110deg, rgba(4, 27, 66, .96), rgba(16, 63, 132, .84)),
    url("../img/hero-bg.png") !important;
  min-height: 560px;
  padding-top: 116px;
  padding-bottom: 54px;
}

.breadcrumbs .page-header::after,
.hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -72px -8%;
  height: 150px;
  background: var(--jmc-white);
  transform: rotate(-2deg);
  transform-origin: left center;
}

.breadcrumbs .page-header .container,
.hero .container {
  position: relative;
  z-index: 2;
}

.breadcrumbs .page-header h1,
.breadcrumbs .page-header h2,
.hero h2 {
  color: var(--jmc-white);
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 12px 28px rgba(0, 0, 0, .24);
}

.breadcrumbs .page-header p,
.hero p {
  color: rgba(255, 255, 255, .9);
  line-height: 1.78;
  font-size: 17px;
}

.btn,
button.btn,
.btn-primary {
  border-radius: 7px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

.btn-primary,
button.btn-primary {
  background: var(--jmc-orange) !important;
  border-color: var(--jmc-orange) !important;
  color: var(--jmc-white) !important;
  box-shadow: 0 12px 24px rgba(255, 121, 8, .28);
}

.btn-primary:hover,
button.btn-primary:hover {
  background: var(--jmc-orange-deep) !important;
  border-color: var(--jmc-orange-deep) !important;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, .7) !important;
  color: var(--jmc-white) !important;
}

.form-control,
select,
input,
textarea {
  border-radius: 7px !important;
  border-color: #cfdceb !important;
}

.form-control:focus,
select:focus,
input:focus,
textarea:focus {
  border-color: var(--jmc-orange) !important;
  box-shadow: 0 0 0 .18rem rgba(255, 121, 8, .18) !important;
}

.section,
section {
  scroll-margin-top: 92px;
}

.section-header h2,
.section-header h3 {
  color: var(--jmc-navy-deep);
  font-weight: 900;
  letter-spacing: 0;
}

.section-header {
  margin-bottom: 38px;
}

.section-header h2,
.section-header h3,
.section-header span {
  text-transform: none;
}

.section-header h2::after,
.section-header h3::after {
  width: 74px !important;
  height: 4px !important;
  border-radius: 999px;
  background: var(--jmc-orange) !important;
}

main,
#main {
  background: var(--jmc-white);
}

section {
  position: relative;
}

.featured-services,
.about,
.services,
.pricing,
.faq,
.contact,
.service-details,
.get-a-quote {
  background: var(--jmc-white);
}

.featured-services,
.services,
.faq,
.jmc-seo-support {
  background:
    linear-gradient(180deg, rgba(234, 243, 255, .72), rgba(255, 255, 255, .92)) !important;
}

.featured-services .service-item,
.services .card,
.pricing .pricing-item,
.faq .accordion-item,
.contact .info-item,
.contact .php-email-form,
.get-a-quote .php-email-form,
.service-details .services-list,
.jmc-card,
.jmc-related-links {
  border: 1px solid rgba(16, 63, 132, .12) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, .96) !important;
  box-shadow: 0 18px 45px rgba(16, 63, 132, .1);
}

.featured-services .service-item,
.pricing .pricing-item,
.contact .info-item {
  padding: 28px !important;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.featured-services .service-item:hover,
.services .card:hover,
.pricing .pricing-item:hover,
.contact .info-item:hover,
.jmc-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 121, 8, .45) !important;
  box-shadow: 0 26px 60px rgba(16, 63, 132, .16);
}

.featured-services .service-item .icon,
.contact .info-item i,
.service-details ul i,
.pricing ul i,
.about .content ul i {
  color: var(--jmc-orange) !important;
}

.featured-services .service-item .icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 121, 8, .12);
  margin-bottom: 18px;
}

.featured-services .service-item .icon i {
  font-size: 26px !important;
}

.featured-services .service-item .title,
.services .card h3,
.pricing h3,
.contact .info-item h4,
.service-details h3,
.service-details h4,
.about .content h3,
.about .content ul h5 {
  color: var(--jmc-navy-deep) !important;
  font-weight: 900 !important;
  letter-spacing: 0;
}

.services .card {
  overflow: hidden;
  height: 100%;
}

.services .card .card-img {
  border-radius: 8px 8px 0 0 !important;
}

.services .card .card-img img {
  min-height: 220px;
  object-fit: cover;
}

.services .card h3,
.services .card p {
  padding-left: 22px;
  padding-right: 22px;
}

.services .card p {
  padding-bottom: 24px;
}

.services .card a::after,
.featured-services .service-item a::after,
.service-details .services-list a::after {
  content: "›";
  margin-left: 8px;
  color: var(--jmc-orange);
  font-weight: 900;
}

.about .content,
.service-details {
  color: var(--jmc-muted);
}

.about img,
.service-details .services-img,
.testimonials .testimonial-item .testimonial-img {
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(16, 63, 132, .14);
}

.call-to-action {
  background:
    linear-gradient(115deg, rgba(4, 27, 66, .92), rgba(16, 63, 132, .9)),
    url("../img/cta-bg.jpg") center/cover no-repeat !important;
  border-top: 4px solid var(--jmc-orange);
  border-bottom: 4px solid var(--jmc-orange);
}

.call-to-action h3 {
  font-weight: 900 !important;
  letter-spacing: 0;
}

.call-to-action .cta-btn {
  background: var(--jmc-orange) !important;
  border-color: var(--jmc-orange) !important;
  color: var(--jmc-white) !important;
  border-radius: 7px !important;
  font-weight: 900 !important;
}

.testimonials {
  background:
    linear-gradient(rgba(4, 27, 66, .84), rgba(16, 63, 132, .84)),
    url("../img/testimonials-bg.jpg") center/cover no-repeat !important;
}

.testimonials::before {
  background: transparent !important;
}

.testimonials .testimonial-item {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(6px);
}

.testimonials .testimonial-item h3,
.testimonials .testimonial-item h4,
.testimonials .testimonial-item p,
.testimonials .section-header h2,
.testimonials .section-header p {
  color: var(--jmc-white) !important;
}

.testimonials .testimonial-item .stars i {
  color: #ffd15c !important;
}

.faq .accordion-button {
  color: var(--jmc-navy-deep) !important;
  font-weight: 900 !important;
  background: var(--jmc-white) !important;
}

.faq .accordion-button:not(.collapsed) {
  color: var(--jmc-orange) !important;
  box-shadow: inset 4px 0 0 var(--jmc-orange);
}

.faq .accordion-body {
  color: var(--jmc-muted);
}

.pricing h4,
.pricing h4 sup,
.pricing h4 span {
  color: var(--jmc-orange) !important;
}

.pricing .featured {
  border-color: var(--jmc-orange) !important;
  background: linear-gradient(180deg, #fff, #fff7f0) !important;
}

.service-details .services-list a {
  border-radius: 7px;
  margin-bottom: 9px;
  color: var(--jmc-navy-deep);
}

.service-details .services-list a.active,
.service-details .services-list a:hover {
  background: var(--jmc-navy) !important;
  color: var(--jmc-white) !important;
}

.contact .php-email-form button[type=submit],
.get-a-quote .php-email-form button[type=submit] {
  background: var(--jmc-orange) !important;
  border-radius: 7px !important;
  font-weight: 900 !important;
}

.contact .php-email-form button[type=submit]:hover,
.get-a-quote .php-email-form button[type=submit]:hover {
  background: var(--jmc-orange-deep) !important;
}

.jmc-redesign-section {
  padding: 76px 0;
  background: var(--jmc-white);
}

.jmc-redesign-section + .jmc-redesign-section {
  padding-top: 42px;
}

.jmc-section-head {
  max-width: 790px;
  margin: 0 auto 34px;
  text-align: center;
}

.jmc-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 7px 18px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--jmc-mint);
  color: #007a65;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.jmc-section-head h2,
.jmc-offer-content h2 {
  margin: 0 0 14px;
  color: var(--jmc-navy-deep);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: 0;
}

.jmc-section-head p,
.jmc-card p,
.jmc-calc-form small,
.jmc-calc-result p,
.jmc-offer-content p,
.jmc-offer-content small {
  color: var(--jmc-muted);
  line-height: 1.7;
}

.jmc-calculator-grid,
.jmc-offer-grid,
.jmc-card-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .95fr);
  gap: 22px;
  align-items: stretch;
}

.jmc-calc-form,
.jmc-calc-result,
.jmc-card {
  border: 1px solid var(--jmc-line);
  border-radius: 8px;
  background: var(--jmc-white);
}

.jmc-calc-form {
  padding: 26px;
}

.jmc-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.jmc-form-grid label {
  display: grid;
  gap: 8px;
  margin: 0;
  color: var(--jmc-navy-deep);
  font-size: 14px;
  font-weight: 700;
}

.jmc-form-grid select {
  width: 100%;
  min-height: 42px;
  padding: 8px 12px;
  background: var(--jmc-white);
  color: #111827;
}

.jmc-form-grid .btn {
  min-height: 48px;
  align-self: end;
}

.jmc-calc-result {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 32px;
  text-align: center;
  background: var(--jmc-navy);
  color: var(--jmc-white);
}

.jmc-calc-result i {
  color: #ffa257;
  font-size: 32px;
  margin-bottom: 18px;
}

.jmc-calc-result h3 {
  color: var(--jmc-white);
  font-size: 18px;
  font-weight: 900;
}

.jmc-calc-result strong {
  display: block;
  margin: 16px 0;
  color: #ffa257;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.1;
  font-weight: 900;
}

.jmc-calc-result p {
  color: var(--jmc-white);
}

.jmc-calc-result .btn {
  width: min(100%, 360px);
  margin-top: 6px;
  padding: 14px 22px;
}

.jmc-offer {
  background: var(--jmc-navy);
  color: var(--jmc-white);
}

.jmc-monsoon-offer {
  background: linear-gradient(180deg, #f5fbff 0%, #ffffff 100%);
}

.jmc-offer-banner {
  overflow: hidden;
  border: 1px solid var(--jmc-line);
  border-radius: 8px;
  background: var(--jmc-white);
  box-shadow: 0 18px 45px rgba(16, 63, 132, .12);
}

.jmc-offer-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.jmc-offer-grid {
  grid-template-columns: minmax(320px, .95fr) minmax(0, 1.35fr);
  align-items: center;
}

.jmc-offer-art {
  padding: 20px;
  border: 1px dashed rgba(255, 255, 255, .48);
  border-radius: 8px;
}

.jmc-offer-image-card {
  overflow: hidden;
  padding: 10px;
  background: rgba(255, 255, 255, .96);
}

.jmc-offer-image-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.jmc-offer-poster {
  position: relative;
  min-height: 250px;
  padding: 28px;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff 0 58%, #d8f8ea 58% 100%);
  color: var(--jmc-navy-deep);
}

.jmc-offer-poster img {
  max-width: 150px;
  height: auto;
  margin-bottom: 22px;
}

.jmc-poster-kicker {
  display: block;
  color: #008267;
  font-weight: 900;
}

.jmc-offer-poster h3 {
  margin: 24px 0 10px;
  color: var(--jmc-navy-deep);
  font-size: 30px;
  line-height: 1.15;
  font-weight: 900;
}

.jmc-discount {
  position: absolute;
  right: 22px;
  top: 24px;
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--jmc-orange);
  color: var(--jmc-white);
  font-size: 18px;
  line-height: 1.1;
  font-weight: 900;
  text-align: center;
  transform: rotate(8deg);
}

.jmc-poster-contact {
  font-weight: 900;
}

.jmc-light-eyebrow {
  background: var(--jmc-mint);
}

.jmc-offer-content h2,
.jmc-offer-content p,
.jmc-offer-content small {
  color: var(--jmc-white);
}

.jmc-offer-code {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  margin: 12px 0 24px;
  border: 1px dashed rgba(255, 255, 255, .7);
  border-radius: 8px;
  font-weight: 800;
}

.jmc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.jmc-hero-actions .btn {
  padding: 13px 20px;
}

.jmc-seo-support {
  background: var(--jmc-soft);
}

.jmc-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.jmc-card {
  padding: 24px;
}

.jmc-card i {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: rgba(255, 121, 8, .12);
  color: var(--jmc-orange);
  font-size: 20px;
}

.jmc-card h3 {
  margin: 0 0 10px;
  color: var(--jmc-navy-deep);
  font-size: 19px;
  font-weight: 900;
}

.jmc-related-links {
  padding: 34px;
  border: 1px solid var(--jmc-line);
  border-radius: 8px;
  background: var(--jmc-white);
}

.jmc-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.jmc-link-list a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid var(--jmc-line);
  border-radius: 999px;
  background: var(--jmc-soft);
  color: var(--jmc-navy-deep);
  font-weight: 800;
}

.jmc-link-list a:hover {
  border-color: var(--jmc-orange);
  background: #fff7f0;
  color: var(--jmc-orange);
}

.jmc-sitemap-page {
  padding: 78px 0;
  background: linear-gradient(180deg, var(--jmc-blue-soft), var(--jmc-white));
}

.jmc-sitemap-page .section-header p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--jmc-muted);
}

.jmc-sitemap-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0 0 28px;
}

.jmc-sitemap-actions .btn-secondary {
  border-color: var(--jmc-navy) !important;
  color: var(--jmc-navy) !important;
  background: var(--jmc-white) !important;
}

.jmc-sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.jmc-sitemap-card {
  overflow: hidden;
  border: 1px solid rgba(16, 63, 132, .12);
  border-radius: 8px;
  background: var(--jmc-white);
  box-shadow: 0 18px 45px rgba(16, 63, 132, .1);
}

.jmc-sitemap-card h3 {
  margin: 0;
  padding: 18px 20px;
  background: linear-gradient(90deg, var(--jmc-navy-dark), var(--jmc-navy));
  color: var(--jmc-white);
  font-size: 18px;
  font-weight: 900;
}

.jmc-sitemap-card ul {
  display: grid;
  gap: 0;
  max-height: 520px;
  margin: 0;
  padding: 0;
  overflow: auto;
  list-style: none;
}

.jmc-sitemap-card li {
  margin: 0;
  border-bottom: 1px solid var(--jmc-line);
}

.jmc-sitemap-card li:last-child {
  border-bottom: 0;
}

.jmc-sitemap-card a,
.jmc-sitemap-card span {
  display: block;
  padding: 12px 18px;
  color: var(--jmc-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.jmc-sitemap-card a:hover {
  background: #fff7f0;
  color: var(--jmc-orange);
}

.footer {
  background: var(--jmc-navy-deep) !important;
}

.footer a:hover {
  color: #ffa257 !important;
}

.jmc-floating-contact {
  position: fixed;
  right: 10px;
  top: 245px;
  z-index: 99999;
  display: grid;
  gap: 8px;
}

.jmc-floating-contact a {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--jmc-white);
  box-shadow: 0 10px 25px rgba(8, 41, 94, .24);
}

.jmc-floating-contact img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

@media (max-width: 991px) {
  .jmc-calculator-grid,
  .jmc-offer-grid,
  .jmc-card-grid,
  .jmc-sitemap-grid {
    grid-template-columns: 1fr;
  }

  .header .logo img {
    max-width: 230px;
  }
}

@media (max-width: 575px) {
  .jmc-redesign-section {
    padding: 52px 0;
  }

  .jmc-form-grid {
    grid-template-columns: 1fr;
  }

  .jmc-calc-form,
  .jmc-calc-result,
  .jmc-related-links {
    padding: 20px;
  }

  .jmc-offer-art {
    padding: 10px;
  }

  .jmc-offer-poster {
    min-height: 230px;
    padding: 20px;
  }

  .jmc-discount {
    width: 82px;
    height: 82px;
    font-size: 15px;
  }
}
