/* ============================================================
   RESET & BASE
============================================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 100%; scroll-behavior: smooth; }
body {
  background: #F2F2F2;
  color: #205B55;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
  position: relative;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #228a5d; text-decoration: none; transition: color 0.2s; cursor: pointer; }
a:hover, a:focus { color: #388bae; text-decoration: underline; }
ul, ol { padding-left: 24px; margin-bottom: 20px; }
ul { list-style-type: disc; }
li { margin-bottom: 10px; }
button, .cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  border: none;
  border-radius: 32px;
  padding: 12px 28px;
  cursor: pointer;
  background: #228a5d;
  color: #fff;
  font-weight: bold;
  box-shadow: 0 2px 8px 0 rgba(34,138,93,0.15);
  transition: background 0.2s, transform 0.2s;
}
button:hover, .cta-btn:hover, button:focus, .cta-btn:focus {
  background: #205B55;
  transform: translateY(-2px) scale(1.04) rotate(-2deg);
}
::selection { background: #61C08B; color: #fff; }

/* ================= BRAND FONTS (for fallback) ================ */
h1, h2, h3, h4, .cta-btn, .main-nav a, .mobile-nav a, .brand-tagline {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}

h1 { font-size: 2rem; margin-bottom: 18px; letter-spacing: -1.2px; color: #205B55; }
h2 { font-size: 1.5rem; margin-bottom: 18px; color: #388bae; }
h3 { font-size: 1.1rem; margin-bottom: 8px; color: #61C08B; }
h4 { font-size: 1rem; margin-bottom: 6px; }
p, ul, ol { font-size: 1rem; margin-bottom: 16px; }
strong { color: #205B55; font-weight: bold; }

/* =================== CONTAINER & LAYOUT ===================== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  background: #fff;
  border-radius: 18px;
  padding: 32px 20px;
  box-shadow: 0 4px 32px 0 rgba(34,138,93,0.06),0 1.5px 6px 0 rgba(32,91,85,0.07);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

/* ============================================================
   SITE HEADER
============================================================ */
header {
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(34,138,93,0.07);
  z-index: 30;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  padding: 18px 20px;
  flex-wrap: wrap;
}
header img[alt="Current Mint Logistics"] {
  height: 48px;
  width: auto;
  margin-right: 12px;
}
.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 16px;
  border-radius: 20px;
  color: #228a5d;
  transition: background 0.12s, color 0.15s, transform 0.15s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: #e5faf2;
  color: #205B55;
  transform: scale(1.07) rotate(-2deg);
}
.cta-btn {
  margin-left: 12px;
  background: linear-gradient(90deg, #61C08B 70%, #3AF9C5 100%);
  color: #205B55;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 16px 0 rgba(34,138,93,0.12);
  transition: background 0.18s, box-shadow 0.16s, color 0.17s;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #228a5d 60%, #61C08B 100%);
  color: #fff;
  box-shadow: 0 6px 24px rgba(34,138,93,0.24);
}

/* MOBILE MENU BUTTON */
.mobile-menu-toggle {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: #228a5d;
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 2rem;
  margin-left: 10px;
  border: none;
  box-shadow: 0 2px 8px rgba(34,138,93,0.09);
  transition: background 0.22s, color 0.18s, transform 0.2s;
  z-index: 52;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #61C08B;
  color: #205B55;
  transform: scale(1.06) rotate(3deg);
}

/* Hide menu toggle on desktop */
@media (min-width: 992px) {
  .mobile-menu-toggle { display: none; }
}

/* Hide main nav + cta on mobile */
@media (max-width: 991px) {
  .main-nav, .cta-btn { display: none !important; }
}

/* ============================================================
   MOBILE SLIDE MENU
============================================================ */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  max-width: 340px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 24px rgba(34,138,93,0.10);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.92,.01,.4,.97);
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 20px;
  padding-bottom: 30px;
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu-close {
  align-self: flex-end;
  margin: 16px 16px 0 0;
  background: #e5faf2;
  color: #228a5d;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.7rem;
  cursor: pointer;
  transition: background 0.18s, color 0.16s;
  z-index: 1101;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #61C08B;
  color: #fff;
}

.mobile-nav {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  padding-left: 28px;
}
.mobile-nav a {
  font-size: 1.07rem;
  color: #205B55;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 8px 10px 8px 0px;
  width: 100%;
  transition: background 0.13s, color 0.16s, transform .13s;
  border-radius: 8px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #e5faf2;
  color: #228a5d;
  transform: scale(1.04) rotate(-5deg);
}

/* Overlay for menu */
.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(32,91,85,0.13);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(.5,.01,.9,1);
}
.mobile-menu.open ~ .mobile-menu-backdrop {
  opacity: 1;
  pointer-events: all;
}

/* ============================================================
   SITE SECTIONS & LAYOUT SPACING
============================================================ */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 4px 18px rgba(34,138,93,0.08);
  transition: transform 0.18s, box-shadow 0.18s;
}
.card:hover {
  transform: translateY(-6px) scale(1.02) rotate(-2deg);
  box-shadow: 0 18px 48px rgba(34,138,93,0.20);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 14px;
  padding: 20px 28px 20px 24px;
  box-shadow: 0 2px 14px rgba(34,138,93,0.10);
  margin-bottom: 20px;
  min-width: 220px;
  flex: 1 1 320px;
  transition: transform 0.12s, box-shadow 0.18s;
  position: relative;
}
.testimonial-card:hover {
  transform: translateY(-3px) scale(1.01) rotate(-1deg);
  box-shadow: 0 10px 32px rgba(34,138,93,0.13);
}
.testimonial-card p {
  color: #205B55 !important;
  font-size: 1.06rem;
  font-style: italic;
  margin-bottom: 4px;
}
.testimonial-meta {
  font-size: 0.97rem;
  color: #61C08B;
  margin-left: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.features-list, .services-list, .storage-list, .transport-list, .benefits-grid, .job-listings {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 32px;
  list-style: none;
}
.features-list li, .services-list li, .storage-list li, .transport-list li, .benefits-grid li, .job-listings li {
  background: #e5faf2;
  border-radius: 14px;
  padding: 16px 22px 15px 16px;
  flex: 1 0 230px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 500;
  color: #205B55;
  position: relative;
  min-width: 180px;
  box-shadow: 0 2px 10px 0 rgba(97,192,139,0.08);
  transition: transform 0.16s, box-shadow 0.18s;
  font-size: 1rem;
}
.features-list li img, .services-list li img, .storage-list li img, .transport-list li img {
  width: 36px;
  height: 36px;
  margin-right: 10px;
}
.features-list li:hover,
.services-list li:hover,
.storage-list li:hover,
.transport-list li:hover,
.benefits-grid li:hover,
.job-listings li:hover {
  box-shadow: 0 6px 18px 0 rgba(34,138,93,0.14);
  background: #d0f2e3;
  transform: scale(1.03) rotate(-2deg);
}

/***** Section / Card Animations *****/
@media (prefers-reduced-motion: no-preference) {
  .section, .card, .features-list li, .testimonial-card, .cta-btn, .main-nav a, .mobile-nav a {
    transition: box-shadow 0.2s, background 0.18s, transform 0.14s, color 0.14s;
  }
}

.brand-tagline {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  color: #388bae;
  background: #e5faf2;
  border-radius: 8px;
  padding: 8px 20px;
  margin: 24px 0 0 0;
  letter-spacing: 0.4px;
  line-height: 1.5;
  display: inline-block;
}

/***** Misc content blocks *****/
.text-section {
  margin-bottom: 28px;
}
.map-embed {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  background: #d0f2e3;
  border-radius: 20px;
  padding: 18px;
}
.monitoring-info, .accessibility-info, .monitoring-details {
  background: #e5faf2;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 0.98rem;
  color: #205B55;
  margin-bottom: 18px;
}

/***** Application instructions (kariera) *****/
.application-instructions {
  background: #e5faf2;
  padding: 14px 24px;
  border-radius: 10px;
  color: #205B55;
  font-size: 1rem;
}

/***** Footer styling *****/
footer {
  background: #205B55;
  color: #fff;
  margin-top: 36px;
  border-radius: 38px 38px 0 0;
  box-shadow: 0 -8px 42px #228a5d14;
  position: relative;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding: 32px 20px 24px 20px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-nav a {
  color: #61C08B;
  background: #fff1;
  padding: 7px 10px;
  border-radius: 13px;
  font-size: 0.97rem;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: background 0.11s, color 0.12s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #61C08B;
  color: #205B55;
}
.contact-data {
  font-size: 0.98rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 180px;
}
.contact-data img {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: middle;
}
.social-links {
  display: flex;
  align-items: center;
  gap: 14px;
}
.social-links a {
  background: #fff;
  border-radius: 50%;
  padding: 6px;
  display: flex;
}
.social-links img {
  width: 26px; height: 26px;
}
.legal {
  margin-top: 18px;
  color: #b1e3cc;
  width: 100%;
  font-size: 0.93rem;
  text-align: right;
}

/***** Responsive for footer/contact *****/
@media (max-width: 767px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .legal { text-align: left; }
}

/* ============================================================
   RESPONSIVE LAYOUT + FLEX
============================================================ */
@media (max-width: 991px) {
  .container { padding: 0 14px; }
  .content-wrapper { padding: 22px 5px; }
}
@media (max-width: 767px) {
  .section { padding: 22px 6px; margin-bottom: 34px; }
  .card-container, .content-grid, .features-list, .services-list, .storage-list, .benefits-grid, .job-listings {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 10px 16px 12px;
  }
  .testimonial-meta { margin-left: 0; margin-top: 10px; }
}

/* ============================================================
   PLAYFUL/DYNAMIC ACCENTS & MICRO-ANIMATIONS
============================================================ */
.cta-btn { animation: bounce-on-load 1.1s .13s cubic-bezier(.48,-0.25,.56,1.26) backwards; }
@keyframes bounce-on-load {
  0% {transform: scale(0.66) translateY(48px) rotate(-8deg); opacity: 0;}
  65% {transform: scale(1.05) translateY(-12px) rotate(5deg); opacity: 1;}
  85% {transform: scale(0.98) translateY(2px) rotate(-2deg);}
  100% {transform: none; opacity: 1;}}
.features-list li, .services-list li, .storage-list li, .job-listings li, .testimonial-card {
  animation: floatfade-in 0.94s cubic-bezier(.6,-0.05,.6,1.22) both;
}
@keyframes floatfade-in {
  0% { opacity: 0; transform: translateY(18px) scale(.98) rotate(1deg); }
  80% { transform: translateY(-1px) scale(1.01) rotate(-1deg); }
  100% { opacity: 1; transform: none; }
}

/***** Jumping playful underline effect for nav/cta *****/
.main-nav a::after, .mobile-nav a::after {
  content: "";
  display: block;
  height: 3px;
  border-radius: 3px;
  width: 0%;
  background: #61C08B;
  margin: 0 auto;
  transition: width 0.22s cubic-bezier(.56,-0.19,.57,1.17);
}
.main-nav a:hover::after, .main-nav a:focus::after, .mobile-nav a:hover::after, .mobile-nav a:focus::after {
  width: 80%;
}

/***** Fun emphasis on brand colors background effect *****/
@media (min-width: 1200px) { body { background: linear-gradient(135deg,#f2fff8 60%,#e5faf2 100%) fixed; } }

/* ============================================================
   COOKIE CONSENT BANNER & COOKIE MODAL
============================================================ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: #205B55;
  border-top: 4px solid #61C08B;
  box-shadow: 0 -2px 24px rgba(97,192,139,0.11);
  padding: 24px 16px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 1440;
  align-items: flex-start;
  animation: floatfade-in 0.7s cubic-bezier(.7,-0.08,.62,1.23) both;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 4px;
}
.cookie-btn {
  border-radius: 22px;
  padding: 8px 18px;
  cursor: pointer;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  background: #61C08B;
  color: #fff;
  transition: background 0.16s, color .13s, box-shadow .12s;
  margin-right: 4px;
  box-shadow: 0 3px 14px rgba(34,138,93,0.09);
}
.cookie-btn.accept { background: #228a5d; }
.cookie-btn.reject { background: #F38860; color: #fff; }
.cookie-btn.settings {
  background: #205B55;
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #388bae;
  color: #fff;
  box-shadow: 0 7px 24px rgba(61,160,184,0.17);
}

/***** Cookie preferences modal *****/
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(32,91,85,0.25);
  z-index: 1500;
  animation: cookiefade-in 0.34s both;
}
@keyframes cookiefade-in {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 1501;
  transform: translate(-50%,-60%) scale(0.95);
  background: #fff;
  color: #205B55;
  border-radius: 16px;
  box-shadow: 0 14px 52px rgba(34,138,93,0.13);
  max-width: 420px;
  width: 96vw;
  padding: 30px 20px 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: floatfade-in 0.66s cubic-bezier(.67,-0.08,.45,1.1) both;
}
.cookie-modal h3 {
  color: #228a5d;
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  margin-bottom: 13px;
}
.cookie-modal .switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 22px;
}
.cookie-modal .switch input { display: none; }
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #e5faf2;
  border-radius: 22px;
  transition: background 0.18s;
}
.cookie-modal .slider:before {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #228a5d;
  transition: transform 0.22s;
}
.cookie-modal .switch input:checked + .slider {
  background: #61C08B;
}
.cookie-modal .switch input:checked + .slider:before {
  transform: translateX(20px);
  background: #205B55;
}

.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.cookie-modal .cookie-actions {
  justify-content: flex-end;
  display: flex;
  gap: 12px;
}

/***** Ensure overlay doesn't block mobile nav/modal *****/
@media (max-width: 450px) {
  .cookie-modal { padding: 18px 2vw; font-size: 0.98rem; }
}

/* ============================================================
   UTILITY CLASSES (for margins, gaps, etc)
============================================================ */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-16 { margin-top: 16px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mt-24 { margin-top: 24px !important; }
.mb-24 { margin-bottom: 24px !important; }
.gap-8 { gap: 8px !important; }
.gap-16 { gap: 16px !important; }
.gap-24 { gap: 24px !important; }

/***** Hide on mobile/desktop helpers *****/
.hide-mobile { display: none !important; }
@media (max-width: 767px) { .hide-mobile { display: none !important; } .hide-desktop { display: inline; } }
@media (min-width: 768px) { .hide-desktop { display: none !important; } }

/* ============================================================
   ACCESSIBILITY & FOCUS STATES
============================================================ */
a:focus, button:focus, .cta-btn:focus, .footer-nav a:focus {
  outline: 2px solid #61C08B;
  outline-offset: 2px;
}

/***** Visually hidden for accessibility ******/
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
  border: 0; padding: 0;
  margin: -1px;
}

/* ============================================================
   PRINT MINIMUMS -- basic for consistency
============================================================ */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal, .cookie-modal-backdrop { display: none !important; }
  body { background: #fff; color: #222; }
  .container, .section, .content-wrapper { box-shadow: none !important; }
}
