/* --- CSS Variables / Branding --- */
:root {
  --rivian-yellow: #ffab00;
  --rivian-yellow-hover: #e69900;
  --rivian-black: #000000;
  --rivian-dark-grey: #1c1c1c;
  --rivian-red: #e53935;
  --rivian-light-grey: #f8f9fa;
  --rivian-border: #e0e0e0;
  --rivian-text-main: #000000;
  --rivian-text-muted: #555555;
  --rivian-white: #ffffff;
}

/* --- Global Styles --- */
body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  background-color: var(--rivian-white);
  color: var(--rivian-text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* --- Main Navigation Bar --- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background-color: rgba(28, 28, 28, 0.3);
  backdrop-filter: blur(1px);
  z-index: 1000;
  color: var(--rivian-white);
  transition: background-color 0.3s ease-in-out;
}

nav.scrolled {
  background-color: var(--rivian-black);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
}

#left-nav {
  display: flex;
  align-items: center;
  gap: 15px;
}

#left-nav a {
  text-decoration: none;
  color: inherit;
}

#left-nav img {
  height: 40px;
  width: auto;
}

#left-nav p {
  margin: 0;
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
  color: var(--rivian-white);
}

/* --- Right Nav (Links) --- */
#right-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

#right-nav li {
  padding: 0 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.5);
}

#right-nav li:last-child {
  border-right: none;
  padding-right: 0;
}

#right-nav a {
  color: var(--rivian-white);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 400;
  transition: opacity 0.3s;
}

#right-nav a:hover {
  opacity: 0.7;
}

/* Dropdowns */
.dropdown {
  position: relative;
}
#right-nav .dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgba(28, 28, 28, 0.95);
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  flex-direction: column;
  padding: 10px 0;
  border-radius: 4px;
  z-index: 1001;
}
#right-nav .dropdown:hover .dropdown-content {
  display: flex;
}
#right-nav .dropdown-content li {
  border-right: none;
  padding: 0;
  width: 100%;
}
#right-nav .dropdown-content li a {
  display: block;
  padding: 10px 20px;
  white-space: nowrap;
}
#right-nav .dropdown-content li a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Hamburger */
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.hamburger .bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: white;
  border-radius: 3px;
}

/* --- HERO SECTION --- */
.hero {
  /* Top: A very sheer, cool dark blue (20% opacity)
    Bottom: A darker blue for text contrast (50% opacity) 
  */
  background-image: linear-gradient(rgba(0, 20, 40, 0.2), rgba(0, 10, 30, 0.6)),
    url("../images/20220621_Elliot_Ross_MediaDrives_R1S_On-Road_1327.jpg");
  background-size: cover;
  background-position: 0% center;
  background-repeat: no-repeat;
  height: 75vh;
  display: flex;
  align-items: center;
  text-align: left;
  color: white;
  padding-top: 70px;
}

.hero-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  box-sizing: border-box;
}

.hero-text-block {
  max-width: 650px;
}

.hero-text-block h1 {
  font-size: 4.5rem; /* Reduced from 7rem */
  line-height: 1.1;
  margin: -2rem 0 1rem 0;
  font-weight: 500;
  font-family: "Sohne", "Larsseit", "HelveticaNeue", "Helvetica Neue", Helvetica,
    Arial, sans-serif !important;
}

.hero-text-block p {
  font-size: 1.5rem; /* Reduced from 2rem */
  margin: 0;
  opacity: 0.9;
  font-weight: 525;
  font-family: "Sohne", "Larsseit", "HelveticaNeue", "Helvetica Neue", Helvetica,
    Arial, sans-serif !important;
}


.content-wrapper {
  padding: 80px 20px;
  background-color: var(--rivian-white);
  display: flex;
  justify-content: center;
  color: var(--rivian-black);
}

.content-wrapper.hero-top {
  padding-top: 0;
}

.content-container {
  max-width: 900px; /* Limits width for better readability like the image */
  width: 100%;
}

/* Large Intro Text */
.intro-text {
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 80px;
  max-width: 75%;
  color: #000;
  font-style: normal;
  line-height: 48px;
  letter-spacing: -1.1px;
}

/* List Styling */
.resource-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.resource-item {
  display: flex;
  align-items: center; /* Vertically center items */
  justify-content: space-between;
  padding: 30px 0;
  /* Optional: Add border-bottom: 1px solid #eee; if you want separators */
}

/* Icon Styling */
.resource-icon {
  width: 50px;
  height: 50px;
  margin-right: 30px;
  flex-shrink: 0;
  object-fit: contain;
}

/* Text Content Styling */
.text-content {
  flex-grow: 1;
  padding-right: 20px;
}

.text-content h2 {
  font-size: 32px;
  font-weight: 400;
  margin: 0 0 8px 0;
  color: #000;
}

.text-content p {
  font-size: 16px;
  margin: 0;
  color: #111;
  line-height: 1.5;
}

/* Button Styling */
.btn-learn-more {
  background-color: var(--rivian-black);
  color: var(--rivian-white);
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 50px; /* Pill shape */
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: background-color 0.2s;
}

.btn-learn-more:hover {
  background-color: #333;
}

/* --- FAQ SECTION STYLES --- */

.faq-section {
  background-color: #000000; /* Dark background */
  color: #ffffff;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 50px 20px;
}

.faq-container {
  width: 100%;
  max-width: 900px; /* Matches your content width */
}

.faq-header {
  font-size: 48px;
  font-weight: 500;
  margin-bottom: 40px;
  letter-spacing: -1px;
  color: #fff;
}

/* FAQ Item Styling */
.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3); /* Thin divider */
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  font-size: 20px;
  font-weight: 500;
  transition: color 0.2s ease;
  user-select: none;
}

.faq-question:hover {
  color: #e0e0e0;
}

/* The Plus Icon */
.plus-icon {
  font-size: 24px;
  font-weight: 300;
  transition: transform 0.3s ease;
}

/* Active state for rotation */
.faq-item.active .plus-icon {
  transform: rotate(45deg); /* Turns plus to X */
}

/* Answer Styling */
.faq-answer {
  max-height: 0; /* Start closed */
  overflow: hidden;

  /* FASTER ANIMATION: 0.25s with a "snappy" bezier curve */
  transition: max-height 0.25s cubic-bezier(0.4, 0, 0.2, 1), padding 0.25s ease,
    opacity 0.25s ease;

  font-size: 16px;
  line-height: 1.6;
  color: #cccccc;
  opacity: 0; /* Fades in as it slides down */
}

/* Active State */
.faq-item.active .faq-answer {
  /* We removed the fixed max-height here. 
     JavaScript will now calculate the perfect height dynamically. */
  padding-bottom: 30px;
  opacity: 1;
}

/* FAQ Button Styling */
.more-btn {
  background-color: #ffffff;
  color: #000000;
  border: none;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  margin-top: 50px;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  transition: background-color 0.2s ease;
}

.more-btn:hover {
  background-color: #e6e6e6;
}

/* Mobile adjustments for FAQ */
@media screen and (max-width: 768px) {
  .faq-header {
    font-size: 36px;
  }
  .faq-question {
    font-size: 18px;
    padding: 20px 0;
  }
}

/* --- FOOTER --- */
footer {
  background-color: rgba(28, 28, 28, 0.95);
  color: white;
  padding: 5px 0;
  width: 100%;
  margin-top: auto; /* Pushes footer to bottom */
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
}

.footer-right {
  display: flex;
  gap: 40px;
}

.footer-right a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
  font-weight: 300;
}

/* --- Mobile Responsiveness --- */
@media screen and (max-width: 768px) {
  /* 1. Navigation Container & Hamburger */
  .hamburger {
    display: flex;
  }

  .nav-container {
    padding: 0 1rem; /* Adjust padding for smaller screens */
  }

  /* 2. The Main Menu List */
  #right-nav ul {
    position: fixed;
    right: 0;
    top: 70px;
    height: 100vh; /* Full screen height */
    width: 100%; /* Full screen width usually looks better on mobile, or keep 200px */
    max-width: 300px; /* Cap width so it doesn't look weird on tablets */
    background-color: #000000; /* Solid black for readability */
    flex-direction: column;
    align-items: flex-start;
    padding-top: 20px;
    display: none; /* Hidden by default */
    overflow-y: auto; /* Allows scrolling if menu is tall */
  }

  /* When the hamburger is clicked */
  #right-nav ul.active {
    display: flex;
  }

  /* 3. List Items */
  #right-nav li {
    width: 100%;
    padding: 0; /* Remove padding from LI to handle link padding better */
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
  }

  #right-nav a {
    display: block;
    padding: 20px; /* Make the whole area clickable */
    font-size: 1.2rem;
  }

  /* 4. Dropdown Logic (THE FIX) */

  /* Reset the specific styles for the Dropdown Parent */
  #right-nav .dropdown {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  /* The Dropdown Menu Itself */
  #right-nav .dropdown-content {
    /* CRITICAL: relative makes it push items down */
    position: relative;
    top: auto;
    left: auto;

    width: 100%;
    box-shadow: none;
    background-color: #1a1a1a; /* Slightly lighter black to distinguish submenu */
    padding: 0;

    /* Hidden by default */
    display: none;

    /* Reset margins/padding */
    margin: 0;
  }

  /* When Javascript adds the 'show' class */
  #right-nav .dropdown-content.show {
    display: flex;
    flex-direction: column;
    animation: slideDown 0.3s ease forwards;
  }

  /* Sub-menu links */
  #right-nav .dropdown-content li a {
    padding-left: 40px; /* Indent sub-items */
    font-size: 1rem;
    color: #cccccc;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* 5. Content Adjustments */
  .hero-text-block h1 {
    font-size: 2.5rem;
  }
  .hero-text-block p {
    font-size: 1.2rem;
  }

  .resource-item {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 40px 0;
  }

  .resource-icon {
    margin-bottom: 20px;
  }

  .intro-text {
    font-size: 22px;
    max-width: 100%;
  }

  .footer-container {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* --- Back to Top Button --- */
#backToTopBtn {
  display: flex; /* Flex helps center the arrow perfectly */
  justify-content: center;
  align-items: center;
  position: fixed; /* Fixes it to the screen */
  bottom: 30px;
  right: 30px;
  z-index: 2000; /* Ensures it sits on top of everything */
  border: none;
  outline: none;
  background-color: #ffab00; /* Matches the orange in your image */
  color: white;
  cursor: pointer;
  border-radius: 50%; /* Makes it a perfect circle */
  width: 60px;
  height: 60px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);

  /* Animation properties */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s;
}

#backToTopBtn:hover {
  background-color: #e69900; /* Slightly darker orange on hover */
  transform: translateY(-5px); /* Moves up slightly when hovered */
}

/* Class to apply via JS when user scrolls down */
#backToTopBtn.show {
  opacity: 1;
  visibility: visible;
}

/* --- COMPACT MOBILE MENU (Replaces your previous mobile section) --- */
@media screen and (max-width: 768px) {
  /* 1. Hamburger Icon */
  .hamburger {
    display: flex;
  }

  .nav-container {
    padding: 0 1rem;
  }

  /* 2. The Main Slide-Out Drawer */
  #right-nav ul {
    position: fixed;
    right: 0;
    top: 70px; /* Below the header */

    /* FIX: Use calc to fit exactly, but allow scrolling */
    height: calc(100vh - 70px);

    width: 100%;
    max-width: 300px;
    background-color: #000000;

    /* KEY FIX: Stack items at the top, don't spread them out */
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-stretch; /* Width 100% */

    padding-top: 0;
    overflow-y: auto; /* Scroll if list is too long */
  }

  #right-nav ul.active {
    display: flex;
  }

  /* 3. Main List Items (Home, Pages, etc.) */
  #right-nav li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-right: none;
  }

  /* Reduce vertical spacing for main links */
  #right-nav a {
    display: block;
    padding: 15px 20px; /* Smaller padding */
    font-size: 1.1rem;
    color: #fff;
  }

  /* 4. Dropdown Container Fixes */
  #right-nav .dropdown {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: static; /* Ensure it stays in flow */
  }

  /* 5. The Inner Dropdown Menu (The part with the gap) */
  #right-nav .dropdown-content {
    /* KEY FIX: Height auto shrinks the black box to fit text only */
    height: auto !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;

    width: 100%;
    background-color: #111111; /* Slightly lighter to see difference */
    padding: 0;
    box-shadow: inset 0 3px 10px rgba(0, 0, 0, 0.5); /* Inner shadow for depth */

    display: none; /* Hidden by default */
  }

  /* Show state */
  #right-nav .dropdown-content.show {
    display: flex;
    flex-direction: column;
  }

  /* 6. Inner Dropdown Links (The sub-items) */
  #right-nav .dropdown-content li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  #right-nav .dropdown-content li a {
    /* TIGHTER SPACING: Reduced padding to remove "unused space" */
    padding: 12px 12px 12px 40px;
    font-size: 0.95rem;
    color: #ccc;
  }

  /* General cleanup for mobile content */
  .hero-text-block h1 {
    font-size: 2.5rem;
  }
  .resource-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-container {
    flex-direction: column;
  }
}

/* --- SUPPORT RESOURCES PAGE STYLES --- */

.support-page-container {
  max-width: 1100px; /* Match standard container width */
}

.support-columns {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 60px;
}

.support-column {
  flex: 1;
}

.support-heading {
  font-size: 30px;
  font-weight: 500;
  border-bottom: 2px solid #000;
  padding-bottom: 10px;
  margin-bottom: 30px;
  letter-spacing: -1px;
}

.support-list {
  padding-left: 20px;
  margin: 0;
}

.support-list li {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.4;
  color: #000;
}

.support-list a {
  color: #000;
  text-decoration: underline;
  word-break: break-all; /* For long URLs */
}

.support-list a:hover {
  text-decoration: none;
  opacity: 0.7;
}

.long-link {
  display: block; /* Make long link sit on its own line if needed, or inline */
  margin-top: 5px;
}

/* Note Section */
.support-note {
  border-top: 1px solid #ccc;
  padding-top: 30px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.note-icon {
  background-color: #e59600; /* Orange/Yellow warning color */
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 18px;
  flex-shrink: 0;
}

.support-note p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #000;
}

/* Mobile responsive for support columns */
@media screen and (max-width: 768px) {
  .support-columns {
    flex-direction: column;
    gap: 40px;
  }
}

/* Full width black bar */
.resources-intro-bar {
  background-color: #000;
  width: 100%;
  padding: 40px 0 20px 0;
}

/* Reduce spacing when content follows the intro bar */
.resources-intro-bar + .content-wrapper {
  padding-top: 30px;
}

/* Centered content within the bar */
.resources-intro-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
  color: #fff;
}

.resources-intro-content h1 {
  font-size: 48px;
  margin: 0 0 10px 0;
  font-weight: 500;
  letter-spacing: -1px;
}

.resources-intro-content p {
  font-size: 18px;
  margin: 0;
  opacity: 0.9;
}

/* Condense support list items */
.support-list li {
  margin-bottom: 8px; /* Reduced from 15px */
  font-size: 13px;
  font-weight: 600;    /* Reduced from 16px */
  line-height: 1.4;   /* Reduced from 1.5 */
  color: #000;
}

/* --- FAQ PAGE SPECIFIC STYLES (Light Mode) --- */
.page-title {
  font-size: 48px;
  font-weight: 500;
  margin-bottom: 30px;
  color: #000;
  letter-spacing: -1px;
}

/* Filter Container */
.faq-filter-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px; /* Reduced from 50px */
}

.faq-filter-btn {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 50px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  color: #000;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: "Montserrat", sans-serif;
}

.faq-filter-btn:hover {
  border-color: #000;
}

.faq-filter-btn.active {
  background-color: #000;
  color: #fff;
  border-color: #000;
}

/* Light Mode FAQ Item Overrides */
.faq-item.light-mode {
  border-bottom: 1px solid #ccc; /* Darker divider for light bg */
}

.faq-item.light-mode .faq-question {
  color: #000;
  font-weight: 600;
  padding-bottom: 15px; /* Reduce space below question */
}

.faq-item.light-mode .faq-question:hover {
  color: #555;
}

.faq-item.light-mode .faq-answer {
  color: #111;
}

.faq-item.light-mode .faq-answer p {
  margin-top: 0;
}

.faq-item.light-mode .faq-answer a {
  color: inherit;
  text-decoration: underline;
  font-weight: 500;
}

/* --- COUPA OVERVIEW PAGE STYLES --- */

.coupa-intro-list,
.coupa-benefits-list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 40px;
}

.coupa-intro-list li,
.coupa-benefits-list li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.coupa-section {
  margin-bottom: 40px;
}

.section-subtitle {
  font-weight: 600;
  margin-bottom: 15px;
}

.coupa-columns {
  display: flex;
  gap: 40px;
  flex-wrap: wrap; /* Stack on mobile */
  margin-top: 40px;
}

.coupa-col {
  flex: 1; /* Equal width */
  min-width: 300px;
}

.coupa-col h3 {
  margin-bottom: 15px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
}

/* Image Styles */
.responsive-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid #ddd;
  transition: transform 0.2s, box-shadow 0.2s;
  display: block;
  margin-top: 20px;
}

.shadow-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* MODAL STYLES */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8); /* Black w/ opacity */
}

.modal-content {
  margin: 2% auto;
  padding: 10px;
  width: 95%;
  max-width: 1400px;
  background-color: #fff;
  border-radius: 8px;
  position: relative;
  text-align: center;
}

.modal-full-img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.close-modal {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 20px;
}

.close-modal:hover,
.close-modal:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.img-caption {
  text-align: center;
  font-size: 13px;
  color: #666;
  margin-top: 5px;
  font-style: italic;
}

/* --- BANKING REQUIREMENTS PAGE STYLES --- */

.section-intro-text {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.divider {
  border-bottom: 1px solid #eee;
  margin: 20px 0;
}

.banking-doc-section {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 30px;
}

.banking-doc-header {
  flex: 1;
  min-width: 250px;
}

.banking-doc-header h3 {
  margin-bottom: 8px;
  font-size: 24px;    
}

.banking-doc-list-container {
  flex: 2;
  min-width: 300px;
}

.banking-list li {
  margin-bottom: 10px;
  font-weight: 500;
  font-size: 14px;
}

.nested-list {
  list-style-type: circle;
  margin-left: 20px;
  margin-top: 4px;
}

.nested-list li {
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 400;
  color: #333;
}

/* Alert Box */
.alert-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #fff8e1;
  padding: 12px 16px;
  border-radius: 6px;
  border-left: 4px solid #ffc107;
  margin-top: 15px;
}

.alert-icon {
  background-color: #ffc107;
  color: #fff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}

.alert-box p {
  margin: 0;
  font-size: 13px;  
  color: #5d4037;
  font-weight: 500;
}

.banking-example-section {
  text-align: center;
  margin-top: 30px;
}

.banking-example-section h3 {
  margin-bottom: 15px;
}

.banking-example-section .coupa-image-container {
  max-width: 600px;
  margin: 0 auto;
}

/* --- SIM SUPPLIER ONBOARDING STYLES --- */

/* 1. CRITICAL FIX: Allow the container to be wider for this content */
/* This allows both the text and the big images to fit side-by-side comfortably */
.content-container {
  max-width: 1200px; 
  width: 95%;
}

/* Intro Section (Video & Text) */
.sim-intro-section {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 60px; 
}


.sim-text-col {
  flex: 1;
  min-width: 300px;
}

.sim-media-col {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sim-media-col a img {
  height: 250px;
  object-fit: contain;
}

.sim-video-link {
  display: block;
  max-width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.sim-video-link:hover {
  transform: scale(1.02);
}

/* --- STEP LAYOUT (Balanced Widths) --- */

.sim-step-row {
  display: flex;
  flex-wrap: wrap;
  gap: 50px; 
  margin-bottom: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid #eee;
  align-items: flex-start; 
}

.sim-step-row:last-child {
  border-bottom: none;
}

/* 2. TEXT COLUMN: Much Wider Now */
.sim-step-content {
  flex: 0.9;
  min-width: 400px;
}

/* Balanced Typography */
.sim-step-content h3 {
  font-size: 1.5rem; 
  margin: 0 0 15px 0;
  line-height: 1.2;
  font-weight: 600;
}

.sim-step-content p {
  font-size: 1rem;
  line-height: 1.6; 
  margin-bottom: 15px; 
  color: #222;
}

.sim-step-content ul.nested-list {
  margin-top: 10px;
  margin-bottom: 20px;
  padding-left: 20px;
}

.sim-step-content li {
  font-size: 1rem;
  margin-bottom: 8px;
  line-height: 1.5;
  color: #333;
}

/* 3. IMAGE COLUMN: Still Dominant but Balanced */
.sim-step-visual {
  flex: 1.1;
  min-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: flex-start;
}

/* --- BIG UNIFORM IMAGES --- */
.sim-step-visual img, 
.clickable-image {
  width: 100%;
  height: 500px;         
  object-fit: contain;   
  background-color: #f8f9fa; 
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 10px;          
  
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Hover Effect */
.sim-step-visual img:hover,
.clickable-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  border-color: #333;
  background-color: #fff;
}

/* Badge Style */
.sim-step-badge {
  display: inline-block;
  background-color: #000;
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}


/* Mobile: Stack them when screen is too small for side-by-side */
@media screen and (max-width: 900px) {
  .sim-step-row {
    flex-direction: column;
  }
  
  .sim-step-content, 
  .sim-step-visual {
    width: 100%;
    min-width: 0; /* Reset min-width */
    flex: none;
  }
}

/* Fix for dark header text visibility */
.resources-intro-bar h2,
.resources-intro-bar h1,
.resources-intro-bar h3 {
  color: #ffffff !important;
  margin: 0;
}

/* Full Width Bar Hack */
.full-width-bar {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 20px 0;
  background-color: #000;
  text-align: center;
  box-sizing: border-box; /* Ensure padding doesn't affect width calculation issues */
}

/* Ensure no horizontal scroll */
body {
  overflow-x: hidden;
}

/* --- PO GUIDELINES SPECIFIC STYLES --- */

.circularNumbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ffab00;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 15px;
}

.po-guidelines-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  font-size: 15px;
}

.po-guidelines-table tr {
  border-bottom: 1px solid #eee;
}

.po-guidelines-table td {
  padding: 15px 10px;
  vertical-align: top;
}

.po-guidelines-table td:first-child {
  font-weight: 700;
  width: 200px;
  color: #333;
}

.po-guidelines-table td:last-child {
  color: #555;
  line-height: 1.5;
}

.catalog-box {
  border: 4px solid #ffab00;
  padding: 25px;
  height: 100%;
  border-radius: 4px;
  background-color: #fff;
}

.catalog-box h4 {
  margin-top: 0;
  font-size: 1.25rem;
  letter-spacing: 0.5px;
  color: #000;
  border-bottom: 2px solid #ffab00;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.catalog-columns {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.catalog-col {
  flex: 1;
  min-width: 300px;
}

/* --- INVOICING GUIDELINES SPECIFIC STYLES --- */

.circularDanger,
.circularWarning {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  margin-right: 15px;
}

.circularDanger {
  background-color: #e53935; /* Rivian red/danger */
}

.circularWarning {
  background-color: #ffab00; /* Rivian yellow/warning */
}

.button1 {
  background-color: #000;
  color: #fff;
  border: none;
  padding: 8px 20px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  border-radius: 4px;
}

.invoicing-alert-box {
  display: flex;
  align-items: flex-start;
  padding: 20px 0;
  border-top: 1px solid #eee;
  margin-top: 20px;
}

.invoicing-alert-text {
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}

.invoicing-alert-text a {
  font-weight: 600;
  color: #000;
}




