/*-----------------------------*
      RIVERWAY LOGISTICS STYLE
   Nature_Organic Modern Design
*-----------------------------*/
:root {
  --color-primary: #1C3740;
  --color-secondary: #40A695;
  --color-accent: #F7E7C7;
  --color-earth-1: #A27644;        /* Clay brown */
  --color-earth-2: #D9CBA3;        /* Light sand */
  --color-earth-3: #E4EBE3;        /* Muted leaf/stone */
  --color-green: #438266;          /* Nature green accent */
  --color-text-dark: #26322B;
  --color-text: #20412b;
  --color-text-light: #F7FCF7;
  --color-card-bg: #F7E7C7;
  --color-card-border: #D9CBA3;
  --color-bg-section: #E4EBE3;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
  --radius-lg: 40px;
  --radius-md: 16px;
  --radius-sm: 6px;
  --shadow-card: 0 6px 24px rgba(28,55,64,0.07);
  --shadow-hover: 0 12px 32px rgba(28,55,64,0.12);
  --transition: 0.25s cubic-bezier(.3,.6,0,1);
  --gap-section: 60px;
  --gap-card: 24px;
  --gap-content: 20px;
  --gap-feature: 15px;
}

/*-------------------------------------*
      0. RESET & BASE STYLES
*-------------------------------------*/
html {
  box-sizing: border-box;
  font-size: 16px;
  background: var(--color-bg-section);
  color: var(--color-text);
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: var(--font-body);
  background: var(--color-bg-section);
  min-height: 100vh;
  color: var(--color-text);
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover, a:focus-visible {
  color: var(--color-green);
}
ul, ol {
  list-style: inside disc;
  padding-left: 1.2rem;
  margin-bottom: 1.2rem;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
}

/*-------------------------------------*
      1. TYPOGRAPHY
*-------------------------------------*/
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.17;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 600;
}
h4 {
  font-size: 1.1rem;
  font-weight: 500;
}
p, li {
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--color-text);
  margin-bottom: 12px;
}
strong {
  font-weight: 700;
  color: var(--color-primary);
}
.breadcrumb {
  margin-bottom: 16px;
  color: var(--color-earth-1);
  font-size: 0.95rem;
}

/*-------------------------------------*
      2. HEADER & NAVIGATION
*-------------------------------------*/
header {
  background: var(--color-primary);
  box-shadow: 0 4px 12px rgba(28,55,64,0.03);
  position: relative;
  z-index: 30;
  width: 100%;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 18px;
}
header img {
  height: 44px;
  width: auto;
  border-radius: var(--radius-sm);
  background: none;
}
nav.main-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
.main-nav a {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
  position: relative;
}
.main-nav a:hover, .main-nav a:focus-visible {
  background: var(--color-secondary);
  color: #fff;
}
.main-nav .cta {
  background: var(--color-secondary);
  color: #fff;
  border-radius: 24px;
  font-weight: 700;
  padding: 7px 22px;
  margin-left: 12px;
  box-shadow: 0 4px 16px rgba(40,126,94,0.08);
  transition: background var(--transition), box-shadow var(--transition);
}
.main-nav .cta:hover, .main-nav .cta:focus-visible {
  background: var(--color-green);
  box-shadow: 0 8px 24px rgba(40,126,94,0.12);
}

/*-------------------------------------*
      3. MOBILE MENU
*-------------------------------------*/
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-accent);
  font-size: 2rem;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 50%;
  transition: background var(--transition);
  z-index: 70;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus-visible {
  background: var(--color-secondary);
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35, 59, 40, 0.92);
  backdrop-filter: blur(4px);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.23,1,.32,1);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  margin: 28px 28px 10px 0;
  background: var(--color-card-bg);
  border: none;
  color: var(--color-text-dark);
  font-size: 2.2rem;
  border-radius: 50%;
  cursor: pointer;
  padding: 6px 10px;
  align-self: flex-end;
  box-shadow: 0 2px 8px rgba(100,60,11,0.09);
  transition: background var(--transition);
}
.mobile-menu-close:hover,
.mobile-menu-close:focus-visible {
  background: var(--color-secondary);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px 30px 32px 18px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.22rem;
  color: var(--color-accent);
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 13px 0;
  border-radius: var(--radius-sm);
  background: none;
  transition: background var(--transition), color var(--transition);
  min-width: 70vw;
  text-align: left;
  display: flex;
  align-items: center;
}
.mobile-nav a:hover, .mobile-nav a:focus-visible {
  background: var(--color-green);
  color: #fff;
}
@media (max-width: 1020px) {
  .container {
    max-width: 96vw;
    padding-left: 8px;
    padding-right: 8px;
  }
}
@media (max-width: 920px) {
  nav.main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (max-width: 430px) {
  header img {
    height: 33px;
  }
  .mobile-nav a {
    font-size: 1.01rem;
  }
}

/*-------------------------------------*
      4. MAIN SECTIONS & SPACING
*-------------------------------------*/
main {
  background: var(--color-bg-section);
  min-height: 74vh;
}
section {
  background: none;
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.container.hero {
  background: var(--color-card-bg);
  border-radius: var(--radius-lg);
  margin-bottom: 36px;
  box-shadow: var(--shadow-card);
  padding-bottom: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.text-section {
  width: 100%;
}

/*-------------------------------------*
      5. FLEXBOX LAYOUTS
*-------------------------------------*/
.feature-grid, .team-grid, .card-container, .content-grid, .testimonial-list, .news-article-list, .faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  align-items: stretch;
}
.feature-item, .card, .team-member, .testimonial-card, .news-article, .faq-snippet {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 24px 20px 18px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 240px;
  flex: 1 1 330px;
  border: 1.5px solid var(--color-card-border);
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-item img {
  height: 44px;
  width: 44px;
  border-radius: var(--radius-sm);
  background: var(--color-accent);
  box-shadow: 0 4px 18px rgba(64,166,149,0.12);
  margin-bottom: 4px;
}
.feature-item h3 {
  color: var(--color-primary);
  font-size: 1.11rem;
  margin-bottom: 3px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.testimonial-card {
  min-width: 280px;
  max-width: 380px;
  flex: 1 1 320px;
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--color-text-dark);
  box-shadow: var(--shadow-card);
  padding: 24px 28px 18px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.testimonial-card p {
  color: var(--color-primary);
  font-size: 1.05rem;
  font-style: italic;
  margin-bottom: 4px;
}
.testimonial-card span {
  align-self: flex-end;
  color: var(--color-green);
  font-family: var(--font-display);
  font-size: 0.97rem;
  font-weight: 700;
}
.logo-row {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 18px;
}
.team-grid {
  gap: 24px;
}
.team-member h3 {
  color: var(--color-secondary);
  font-size: 1.15rem;
  margin-bottom: 1px;
}
.team-member span {
  color: var(--color-green);
  font-weight: 500;
  margin-bottom: 5px;
}
.team-member p {
  font-size: 0.97rem;
}
.feature-item:hover, .card:hover, .team-member:hover, .testimonial-card:hover, .news-article:hover, .faq-snippet:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px) scale(1.012);
}

.office-hours, .address-block, .contact-details {
  margin-bottom: 16px;
  color: var(--color-earth-1);
  font-size: 1rem;
  line-height: 1.5;
}
.contact-details img {
  height: 1.2em;
  margin-right: 8px;
  vertical-align: middle;
}
.map-block {
  display: flex;
  align-items: center;
  margin-top: 7px;
  gap: 10px;
  padding: 14px 0 0 0;
  color: var(--color-green);
  font-size: 1rem;
}
.contact-highlights, .resource-highlights {
  margin-top: 14px;
  background: var(--color-earth-3);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 1rem;
}
.quick-links {
  margin-top: 12px;
  color: var(--color-green);
  font-size: 1rem;
  display: flex;
  gap: 8px;
}

@media (max-width: 950px) {
  .feature-grid, .testimonial-list, .team-grid, .card-container, .news-article-list {
    gap: 18px;
  }
  section {
    padding: 30px 10px;
  }
  .testimonial-card {
    max-width: 98vw;
    padding: 18px 10px 12px 10px;
  }
}
@media (max-width: 768px) {
  .feature-grid, .testimonial-list, .team-grid, .news-article-list {
    flex-direction: column;
    gap: 14px;
  }
  .container {
    padding: 0 4vw;
  }
  section {
    padding: 26px 6px;
    margin-bottom: 32px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 1.45rem;
  }
  h2 {
    font-size: 1.12rem;
  }
  .container {
    padding: 0 3vw;
  }
  nav.main-nav a, .main-nav .cta {
    font-size: 0.97rem;
    padding: 6px 7px;
  }
}

/*-------------------------------------*
      6. BUTTONS & CTA STYLES
*-------------------------------------*/
.cta-button, .cta, .cookie-banner button, .cookie-modal-actions button {
  font-family: var(--font-display);
  color: #fff;
  background: var(--color-secondary);
  padding: 14px 30px;
  border: none;
  border-radius: 24px;
  font-size: 1.07rem;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(64,166,149,0.11);
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), color var(--transition), transform var(--transition);
  margin-top: 10px;
  margin-bottom: 4px;
  outline: none;
  text-align: center;
}
.cta-button:hover, .cta-button:focus-visible,
.cta:hover, .cta:focus-visible,
.cookie-banner button:hover,
.cookie-modal-actions button:hover {
  background: var(--color-green);
  color: var(--color-accent);
  box-shadow: 0 6px 24px rgba(67,130,102,0.16);
  transform: translateY(-3px) scale(1.03);
}
.cookie-banner .secondary-btn, .cookie-modal-actions .secondary-btn {
  background: var(--color-card-bg);
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
}
.cookie-banner .secondary-btn:hover, .cookie-modal-actions .secondary-btn:hover {
  background: var(--color-secondary);
  color: #fff;
}

/*-------------------------------------*
      7. NEWS, FAQ, RESOURCE STYLES
*-------------------------------------*/
.news-article, .faq-snippet {
  border-left: 5px solid var(--color-secondary);
  background: #fff;
}
.news-article h3, .faq-snippet strong {
  font-size: 1.07rem;
  font-family: var(--font-display);
  color: var(--color-green);
  margin-bottom: 4px;
}
.resource-highlights ul {
  margin-left: 14px;
  margin-bottom: 0;
}
.resource-highlights li {
  color: var(--color-primary);
}

/*-------------------------------------*
      8. FOOTER
*-------------------------------------*/
footer {
  background: var(--color-earth-1);
  color: var(--color-accent);
  width: 100%;
  border-top-right-radius: var(--radius-lg);
  border-top-left-radius: var(--radius-lg);
  margin-top: 50px;
  padding-top: 32px;
  padding-bottom: 24px;
}
footer .container {
  gap: 34px;
}
.footer-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 18px;
  align-items: center;
  font-size: 1rem;
}
.footer-navigation a {
  color: var(--color-accent);
  background: rgba(255,255,255,0.08);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.footer-navigation a:hover, .footer-navigation a:focus-visible {
  background: var(--color-secondary);
  color: #fff;
}
.branding {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.branding img {
  height: 38px;
  border-radius: 8px;
}
.branding span {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1rem;
  font-style: italic;
  font-weight: 700;
}
.contact-information {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: flex-center;
  font-size: 1rem;
}
.contact-information span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-accent);
  margin-bottom: 0;
}
.contact-information img {
  height: 1.2em;
  margin-right: 4px;
}
.geo-location, .language-notice {
  margin-top: 6px;
  color: var(--color-earth-2);
  font-size: 0.97rem;
}

@media (max-width: 800px) {
  .footer-navigation, .branding, .contact-information {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
  }
}

/*-------------------------------------*
      9. COOKIE CONSENT BANNER & MODAL
*-------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 2001;
  background: var(--color-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 18px 14vw 18px 8vw;
  box-shadow: 0 -3px 16px rgba(77,109,64,0.21);
  font-family: var(--font-body);
  font-size: 1.07rem;
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.37s cubic-bezier(0.92,.02,0.47,1.11), opacity 0.27s;
}
.cookie-banner.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner-text {
  flex: 1 1 420px;
  color: #fff;
  font-size: 1rem;
}
.cookie-banner button {
  margin-left: 0;
  margin-right: 14px;
}
@media (max-width: 740px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 10vw 18px 4vw;
    gap: 17px;
    font-size: 0.98rem;
  }
}

.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(36,50,32,0.68);
  z-index: 2100;
  display: none;
}
.cookie-modal-backdrop.active {
  display: block;
}
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-53%) scale(0.94);
  min-width: 326px;
  max-width: 98vw;
  background: #fff;
  color: var(--color-primary);
  padding: 36px 36px 30px 30px;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 44px rgba(67,130,102,0.19);
  z-index: 2110;
  opacity: 0;
  transition: opacity 0.25s, transform 0.28s;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%,-50%) scale(1);
}
.cookie-modal h2 {
  font-size: 1.25rem;
  color: var(--color-green);
  margin-bottom: 9px;
}
.cookie-modal .cookie-categories {
  margin: 0 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1rem;
  font-weight: 500;
}
.cookie-modal input[type=checkbox], .cookie-modal input[type=radio] {
  accent-color: var(--color-green);
  width: 17px;
  height: 17px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
}
.cookie-modal .cookie-required-label {
  font-style: italic;
  color: var(--color-green);
}
@media (max-width: 600px) {
  .cookie-modal {
    min-width: 96vw;
    padding: 18px 12px 18px 10px;
    font-size: 1rem;
  }
}

/*-------------------------------------*
      10. ANIMATIONS & MICRO-INTERACTIONS
*-------------------------------------*/
.card, .feature-item, .testimonial-card, .news-article, .faq-snippet, .team-member {
  transition: box-shadow var(--transition), transform var(--transition);
}
.cta-button, .cta, .cookie-banner button, .cookie-modal-actions button {
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.mobile-menu,
.cookie-banner,
.cookie-modal {
  will-change: transform, opacity;
}

/* Focus Styling for Accessibility */
a:focus-visible, button:focus-visible, .cta:focus-visible, .cta-button:focus-visible {
  outline: 2px solid var(--color-green);
  outline-offset: 2px;
  z-index: 100;
}

/* Style Scrollbar for Nature Feel */
body::-webkit-scrollbar {
  width: 10px;
}
body::-webkit-scrollbar-thumb {
  background: var(--color-earth-2);
  border-radius: 7px;
}
body::-webkit-scrollbar-thumb:hover {
  background: var(--color-green);
}

/*-------------------------------------*
      11. MISC/UTILITY
*-------------------------------------*/
.hidden {
  display: none !important;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.text-left {
  text-align: left;
}
.capitalize {
  text-transform: capitalize;
}
.uppercase {
  text-transform: uppercase;
}

/*-------------------------------------*
     12. ORGANIC/NATURE ORGANIC DECOR
*-------------------------------------*/
/* Subtle organic feel with rounded, non-uniform radii, gentle earthy shadows */
.card, .feature-item, .testimonial-card, .team-member, .news-article, .faq-snippet {
  border-radius: 40px 22px 30px 35px;
  border: 1.5px solid var(--color-earth-2);
  background: linear-gradient(129deg, var(--color-card-bg) 80%, #fff 100%);
  box-shadow: 0 6px 34px -8px rgba(67,130,102,0.035);
}
.card:hover, .feature-item:hover, .testimonial-card:hover, .news-article:hover, .faq-snippet:hover {
  box-shadow: 0 16px 46px -8px rgba(67,130,102,0.11);
}
.section, section {
  border-radius: 0 0 60px 28px/80px 50px 60px 38px;
}
footer, header {
  border-top-right-radius: 42px 24px;
  border-top-left-radius: 80px 20px;
}

/* Leafy marker for lists (nature accent) */
ul {
  list-style: none inside;
}
ul li {
  position: relative;
  padding-left: 1.7em;
  margin-bottom: 0.45em;
}
ul li:before {
  content: '';
  position: absolute;
  left: 0.4em;
  top: 0.55em;
  width: 1em;
  height: 1em;
  background: url('../assets/icons/icon-leaf.svg') no-repeat center/contain, var(--color-green);
  border-radius: 50%;
  opacity: 0.77;
}

/*-------------------------------------*
      13. PRINT STYLES
*-------------------------------------*/
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  body, html { background: #fff !important; color: #000; }
  * { box-shadow: none !important; }
}
