/* Custom styles to replace Webflow JS functionality */

/* Sticky Navigation */
.navigation-wrapper {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1000 !important;
  width: 100% !important;
  background: white !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
}

/* Add top padding to body to compensate for fixed header */
body {
  padding-top: 80px !important;
}

/* Substack Subscribe Button in Footer */
.footer-substack-button {
  background: #903444 !important;
  color: white !important;
  padding: 12px 32px !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  border: 2px solid #000 !important;
  border-radius: 0 !important;
  box-shadow: 4px 4px 0 #000 !important;
  font-family: Montserrat, sans-serif !important;
  font-size: 16px !important;
  line-height: 24px !important;
  display: inline-block !important;
  transition: all 0.2s ease !important;
  margin-top: 20px !important;
}

.footer-substack-button:hover {
  background: #000 !important;
  color: white !important;
  transform: translate(2px, 2px) !important;
  box-shadow: 2px 2px 0 #000 !important;
}

/* Reverse colors for buttons in "You Don't Have to Build Alone" section */
.cta-section-dark .hero-button,
.cta-section-dark .hero-button.w-button {
  background-color: white !important;
  color: #903444 !important;
  border-color: #000 !important;
}

.cta-section-dark .hero-button:hover,
.cta-section-dark .hero-button.w-button:hover {
  background-color: #903444 !important;
  color: white !important;
}

/* Navigation logo and button sizing */
.navigation-logo {
  width: 300px !important;
  max-width: 300px !important;
}

.button-primary-3 .bangers-regular {
  font-size: 30px !important;
}

/* Heading font size */
.h3-heading-4 {
  font-size: 40px !important;
}

/* Apply Now page - remove border radius */
.form-text-field-styled,
.text-area-styled,
.button-primary-11 {
  border-radius: 0 !important;
}

/* Make image-cover larger */
.image-cover._1235 {
  transform: scale(1.25);
  transform-origin: center;
}

/* Hero image - center and make full width when it's the only element */
.hero-grid {
  display: flex !important;
  justify-content: center;
}

.hero-column-middle {
  max-width: 100% !important;
  width: 100% !important;
  grid-column: 1 / -1;
}

.hero-column-middle img {
  width: 62.5%;
  max-width: 750px;
  height: auto;
  margin: 0 auto;
  display: block;
}

/* Feature card - first card should be vertical layout */
#w-node-cbf6af51-d372-fdd2-70d0-e4b33951b5db-0a9c1b6c {
  flex-direction: column;
  align-items: flex-start;
}

#w-node-cbf6af51-d372-fdd2-70d0-e4b33951b5db-0a9c1b6c .feature-image {
  margin-bottom: 20px;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* Remove border from container images */
img[src*="container1.png"],
img[src*="container2.png"],
img[src*="container3.png"],
img[src*="container4.png"],
img[src*="container5.png"] {
  border: none !important;
}

/* Navigation - Remove border from active links */
.navigation-link.w--current {
  border: none !important;
  outline: none !important;
}

/* Mobile Navigation */
.navigation-menu {
  transition: all 0.3s ease;
}

/* Desktop positioning for navigation menu */
@media (min-width: 992px) {
  .navigation-menu {
    left: 100px;
  }
}

/* Hide mobile-only link on desktop */
.mobile-only-link {
  display: none !important;
}

@media (max-width: 991px) {
  /* Show mobile-only link on mobile */
  .mobile-only-link {
    display: block !important;
  }

  /* Hide Apply Now button on mobile since it's in the hamburger menu */
  .navigation-button-group {
    display: none !important;
  }

  /* Add padding to FAQ container on mobile */
  .faq-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Prevent horizontal scroll on mobile */
  body {
    overflow-x: hidden;
  }

  html {
    overflow-x: hidden;
  }

  /* Make logo 25% smaller on mobile/tablet */
  .navigation-logo {
    width: 240px !important;
    max-width: 240px !important;
  }

  /* Make hero image full width on mobile */
  .hero-column-middle img {
    width: 100% !important;
    max-width: 100% !important;
  }

  .navigation-wrapper {
    position: relative;
    z-index: 1001;
  }

  .navigation {
    position: relative;
    z-index: 1002;
  }

  .navigation-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 999;
    display: flex !important;
    flex-direction: column;
  }

  .navigation-menu.open {
    max-height: 400px;
    opacity: 1;
    padding: 20px;
  }

  .navigation-link {
    display: block;
    padding: 12px 0;
    width: 100%;
  }

  .navigation-mobile-menu {
    cursor: pointer;
    display: block;
  }
}

/* Bounce animation for lottie replacement */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Comic-book style hero heading animation */
@keyframes comicBurst {
  0% {
    transform: scale(0) rotate(-15deg);
    opacity: 0;
    filter: blur(10px);
    text-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }
  40% {
    transform: scale(1.15) rotate(5deg);
    opacity: 1;
    filter: blur(0px);
    text-shadow:
      0 0 20px rgba(255, 255, 0, 0.8),
      0 0 40px rgba(255, 255, 0, 0.6),
      5px 5px 0 rgba(0, 0, 0, 0.3),
      10px 10px 20px rgba(0, 0, 0, 0.4);
  }
  60% {
    transform: scale(0.95) rotate(-2deg);
    text-shadow:
      0 0 15px rgba(255, 255, 0, 0.6),
      0 0 30px rgba(255, 255, 0, 0.4),
      4px 4px 0 rgba(0, 0, 0, 0.3),
      8px 8px 15px rgba(0, 0, 0, 0.3);
  }
  75% {
    transform: scale(1.05) rotate(1deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
    filter: blur(0px);
    text-shadow: none;
  }
}

/* Apply animation to hero heading */
.hero-heading-animated {
  animation: comicBurst 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
  transform-origin: center;
}

/* FAQ Accordion Icons */
.faq-question-wrapper {
  cursor: pointer;
  transition: background-color 0.2s ease;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.faq-question-wrapper:hover {
  background-color: rgba(0,0,0,0.02);
}

.faq-question-wrapper h4 {
  flex: 1;
  margin: 0;
  pointer-events: none;
}

.accordian-icon-wrapper {
  position: relative;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  pointer-events: none;
}

.horizontal-line,
.vertical-line {
  position: absolute;
  background-color: currentColor;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.horizontal-line {
  width: 16px;
  height: 2px;
}

.vertical-line {
  width: 2px;
  height: 16px;
}

/* When FAQ is open, rotate vertical line to make it disappear (forming minus sign) */
.faq-question-wrapper.open .vertical-line {
  transform: rotate(90deg);
  opacity: 0;
}

/* Mobile menu toggle button */
.navigation-mobile-menu {
  cursor: pointer;
}

/* Scroll animation classes */
.scroll-fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-fade-up.animate {
  opacity: 1;
  transform: translateY(0);
}

.scroll-slide-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.scroll-slide-left.animate {
  opacity: 1;
  transform: translateX(0);
}

.scroll-slide-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.scroll-slide-right.animate {
  opacity: 1;
  transform: translateX(0);
}

.scroll-scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll-scale-in.animate {
  opacity: 1;
  transform: scale(1);
}

.scroll-rotate-in {
  opacity: 0;
  transform: rotate(-5deg) scale(0.95);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-rotate-in.animate {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* Stagger animation for child elements */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger-children.animate > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.animate > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.animate > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.animate > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children.animate > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children.animate > *:nth-child(6) { transition-delay: 0.6s; }

.stagger-children.animate > * {
  opacity: 1;
  transform: translateY(0);
}

/* FAQ Tabs Styles - 2 Column Layout */
.faq-tabs-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

/* Left column - 30% */
.faq-tabs {
  flex: 0 0 30%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 100px;
}

.faq-tab {
  padding: 16px 24px;
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 0;
  font-size: 15px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
  font-family: "Montserrat", sans-serif;
  position: relative;
}

.faq-tab:hover {
  border-color: #9c3b4d;
  color: #9c3b4d;
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(156, 59, 77, 0.15);
}

.faq-tab.active {
  background: #9c3b4d;
  border-color: #9c3b4d;
  color: #fff;
  box-shadow: 0 4px 16px rgba(156, 59, 77, 0.3);
  transform: translateX(4px);
}

.faq-tab.active::before {
  content: '';
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 8px solid #9c3b4d;
}

/* Sidebar CTA Section */
.faq-sidebar-cta {
  margin-top: 30px;
  padding: 24px;
  background: #f9fafb;
  border: 2px solid #e5e7eb;
}

.faq-sidebar-heading {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 12px 0;
  font-family: "Montserrat", sans-serif;
}

.faq-sidebar-text {
  font-size: 14px;
  line-height: 1.6;
  color: #6b7280;
  margin: 0 0 20px 0;
}

.faq-sidebar-link {
  color: #9c3b4d;
  text-decoration: none;
  font-weight: 600;
}

.faq-sidebar-link:hover {
  text-decoration: underline;
}

.faq-sidebar-cta .button-primary-3 {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* Right column - 70% */
.faq-tab-content {
  flex: 0 0 70%;
}

.faq-tab-pane {
  display: none;
  animation: fadeInUp 0.4s ease;
}

.faq-tab-pane.active {
  display: block;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile responsive - stack vertically */
@media (max-width: 991px) {
  .faq-tabs-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .faq-tabs {
    flex: 1;
    width: 100%;
    position: static;
  }

  .faq-tab-content {
    flex: 1;
    width: 100%;
  }

  .faq-tab.active::before {
    display: none;
  }
}

/* Application Form Styles */
.application-form-section {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 2px solid #e5e7eb;
}

.application-form-section:last-of-type {
  border-bottom: none;
}

.form-section-heading {
  font-size: 24px;
  color: #111827;
  margin: 0 0 24px 0;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.form-field-label-styled {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
  font-family: "Montserrat", sans-serif;
}

.required-star {
  color: #9c3b4d;
  font-weight: 700;
}

.form-field-hint {
  font-size: 13px;
  color: #6b7280;
  margin: -4px 0 8px 0;
  font-style: italic;
  line-height: 1.5;
}

.form-text-field-styled {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 15px;
  color: #111827;
  font-family: "Montserrat", sans-serif;
  transition: all 0.3s ease;
  background: #fff;
}

.form-text-field-styled:focus {
  outline: none;
  border-color: #9c3b4d;
  box-shadow: 0 0 0 3px rgba(156, 59, 77, 0.1);
}

.form-text-field-styled::placeholder {
  color: #9ca3af;
}

.text-area-styled {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

.column-x-small-4 {
  margin-bottom: 20px;
}

/* Improve submit button */
.button-primary-11 {
  background: #9c3b4d;
  border: none;
  padding: 16px 40px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Montserrat", sans-serif;
}

.button-primary-11:hover {
  background: #7d2f3d;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(156, 59, 77, 0.3);
}

/* Instructors Page Styles - Comic Book Style */
.instructors-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2em 1em;
}

.team {
  padding: 2em 0;
  margin: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3em;
}

.member {
  position: relative;
  background: #fff;
  border: 4px solid #000;
  box-shadow: 8px 8px 0 #000;
  padding: 2em;
  transition: all 0.3s ease;
  overflow: visible;
}

.member:hover {
  transform: translate(-4px, -4px);
  box-shadow: 12px 12px 0 #000;
}

.member:nth-of-type(even) {
  background: #fff;
}

.thumb {
  width: 250px;
  height: 250px;
  margin: 0 auto 2em;
  border: 4px solid #000;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  background: #9c3b4d;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.member:hover .thumb img {
  transform: scale(1.15);
}

.member:hover .description h3 {
  transform: scale(1.1);
}

.co-founder:hover::after {
  transform: rotate(-3deg) scale(1.2);
  box-shadow: 3px 3px 0 #000;
}

.co-founder:nth-of-type(even):hover::after {
  transform: rotate(3deg) scale(1.2);
}

.description {
  text-align: center;
}

.description h3 {
  font-family: "Bangers", system-ui;
  font-size: 2.2em;
  color: #9c3b4d;
  margin: 0 0 0.5em 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.description h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 4px;
  background: #9c3b4d;
}

.description p {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  padding: 0 1em;
  margin: 1.5em 0 0;
}

.instructor-linkedin {
  display: inline-block;
  margin-top: 1.5em;
  padding: 0.6em 1.5em;
  background: #0077b5;
  color: #fff;
  text-decoration: none;
  border: 3px solid #000;
  box-shadow: 3px 3px 0 #000;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.instructor-linkedin:hover {
  background: #005885;
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 #000;
}

.instructor-linkedin svg {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 6px;
  fill: currentColor;
}

.co-founder::after {
  content: "CO-FOUNDER";
  position: absolute;
  top: -15px;
  right: 20px;
  background: #FFD700;
  color: #000;
  font-family: "Bangers", system-ui;
  font-size: 0.9em;
  padding: 0.3em 0.8em 0.2em;
  border: 3px solid #000;
  box-shadow: 2px 2px 0 #000;
  transform: rotate(-3deg);
  letter-spacing: 1px;
  z-index: 10;
}

.co-founder:nth-of-type(even)::after {
  right: auto;
  left: 20px;
  transform: rotate(3deg);
}

/* Add transition to CO-FOUNDER badge */
.co-founder::after {
  transition: all 0.3s ease;
}

/* Mobile responsive */
@media (max-width: 991px) {
  .team {
    grid-template-columns: 1fr;
    gap: 2.5em;
    padding: 1em 0;
  }

  .member {
    padding: 1.5em;
  }

  .thumb {
    width: 180px;
    height: 180px;
  }

  .description h3 {
    font-size: 1.8em;
  }

  .description p {
    padding: 0 0.5em;
    font-size: 15px;
  }

  .co-founder::after {
    top: -12px;
    right: 15px;
    font-size: 0.8em;
  }

  .co-founder:nth-of-type(even)::after {
    left: 15px;
  }
}

/* Neo-Brutalist Button Styles */
.btn-neo-brutalist {
  background-color: #903444;
  color: white;
  font-weight: 700;
  text-transform: uppercase;
  border: 2px solid #000;
  border-radius: 0;
  box-shadow: 6px 6px 0 #000;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
  position: relative;
}

/* Size variants */
.btn-neo-brutalist.btn-sm {
  padding: 8px 16px;
  font-size: 14px;
}

.btn-neo-brutalist.btn-md {
  padding: 12px 24px;
  font-size: 16px;
}

.btn-neo-brutalist.btn-lg {
  padding: 16px 32px;
  font-size: 18px;
}

/* Hover state */
.btn-neo-brutalist:hover {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 #000;
}

/* Active/pressed state */
.btn-neo-brutalist:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}

/* Focus state */
.btn-neo-brutalist:focus {
  outline: 2px solid #60A5FA;
  outline-offset: 2px;
}

/* Remove default button styles when applied to button element */
button.btn-neo-brutalist {
  border: 2px solid #000;
  background-color: #903444;
}

/* Ensure sharp corners with high specificity */
.btn-neo-brutalist,
a.btn-neo-brutalist,
button.btn-neo-brutalist,
.btn-neo-brutalist.btn-sm,
.btn-neo-brutalist.btn-md,
.btn-neo-brutalist.btn-lg {
  border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
  -moz-border-radius: 0 !important;
}

/* Apply neo-brutalist styles to existing button classes */
.hero-button,
.hero-button.w-button,
.button-primary-3,
.button-primary-11 {
  background-color: #903444 !important;
  color: white !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  border: 2px solid #000 !important;
  border-radius: 0 !important;
  box-shadow: 6px 6px 0 #000 !important;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
  position: relative !important;
  padding: 12px 24px !important;
  font-size: 16px !important;
}

/* Force square corners with higher specificity */
a.hero-button.w-button,
a.hero-button,
.hero-button {
  border-radius: 0 !important;
}

/* Hover states for existing buttons */
.hero-button:hover,
.hero-button.w-button:hover,
.button-primary-3:hover,
.button-primary-11:hover {
  transform: translate(-1px, -1px) !important;
  box-shadow: 5px 5px 0 #000 !important;
  background-color: #903444 !important;
  color: white !important;
}

/* Active states for existing buttons */
.hero-button:active,
.hero-button.w-button:active,
.button-primary-3:active,
.button-primary-11:active {
  transform: translate(2px, 2px) !important;
  box-shadow: none !important;
}

/* Focus states for existing buttons */
.hero-button:focus,
.hero-button.w-button:focus,
.button-primary-3:focus,
.button-primary-11:focus {
  outline: 2px solid #60A5FA !important;
  outline-offset: 2px !important;
}

/* Neo-brutalist hard shadows for feature cards */
.feature-card-2 {
  box-shadow: 8px 8px 0 #000 !important;
  border: 2px solid #000 !important;
}

/* Neo-brutalist hard shadows for timeline cards */
.timeline-card,
.timeline-card-copy {
  box-shadow: 8px 8px 0 #000 !important;
  border: 2px solid #000 !important;
}

/* Make hero paragraph wider for better line wrapping */
.hero-paragraph {
  max-width: 600px !important;
  width: 100% !important;
}

/* Neo-brutalist hard shadows for hero image */
.image-2 {
  box-shadow: 8px 8px 0 #000 !important;
  border: 2px solid #000 !important;
}

/* Standardize all header character spacing to 0 */
.hero-heading,
.h3-heading-4,
.h5-heading,
.h6-heading-4 {
  letter-spacing: 0 !important;
}

/* Ensure all Bangers font elements have 0 character spacing */
.bangers-regular,
.bangers-regular2 {
  letter-spacing: 0 !important;
}

/* Apply 0 character spacing to Apply Now button */
.button-primary-3 .bangers-regular {
  letter-spacing: 0 !important;
}

/* Make feature card titles larger and ensure 0 letter spacing */
.h5-heading.bangers-regular2 {
  font-size: 28px !important;
  letter-spacing: 0 !important;
}

/* Change inactive FAQ tab borders to black */
.faq-tab {
  border: 2px solid #000 !important;
}

/* Remove arrow from active FAQ categories */
.faq-tab.active::before {
  display: none !important;
}

/* Change FAQ sidebar "Still Have Questions" box border to black */
.faq-sidebar-cta {
  border: 2px solid #000 !important;
}

/* Apply page contact column styling */
.contact-column {
  position: static !important;
  border: none !important;
  box-shadow: none !important;
  padding-top: 0 !important;
}

/* Thin black outline for apply page input fields */
.form-text-field-styled,
.text-area-styled {
  border: 1px solid #000 !important;
}

/* Increase size of form section titles on apply page */
.form-section-heading {
  font-size: 32px !important;
}

/* Apply page accordion styling - neo-brutalist style */
.apply-accordion-section {
  background-color: #fff;
  border: 2px solid #000;
  border-radius: 0;
  width: 100%;
  max-width: 100%;
  margin-bottom: 24px;
  padding: 32px;
  position: relative;
  box-shadow: 8px 8px 0 #000;
  box-sizing: border-box;
}

.apply-accordion-trigger {
  cursor: pointer;
  padding: 0;
  border: none;
  background: transparent;
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

/* Reduce height for inactive accordions */
.apply-accordion-section:not(.open) {
  padding: 15px 32px;
}

.apply-accordion-trigger:hover {
  background: rgba(0,0,0,0.02);
}

.apply-accordion-trigger.open .vertical-line {
  transform: rotate(90deg);
  opacity: 0;
}

.apply-accordion-content {
  padding: 0;
  padding-top: 8px;
  border: none;
  background: transparent;
  width: 100%;
  box-sizing: border-box;
}

.apply-accordion-content ul,
.apply-accordion-content ol {
  margin: 10px 0;
  padding-left: 20px;
}

.apply-accordion-content li {
  margin-bottom: 8px;
}

/* Remove HR dividers since each section now has its own card styling */
.apply-accordion-section + hr {
  display: none;
}

/* Align the main heading with Contact Information title */
.contact-column-small {
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.contact-column-small .column-large-3 {
  padding-left: 0 !important;
  margin-left: 0 !important;
}

/* Add spacing below the application description paragraph */
.contact-row p:last-child {
  margin-bottom: 20px !important;
}

/* Move hero apply button down to overlap yellow background */
.hero-wrapper .hero-button {
  margin-top: 40px !important;
  margin-bottom: -20px !important;
  position: relative !important;
  z-index: 10 !important;
}

/* Center container images on mobile */
@media (max-width: 991px) {
  img[src*="container1.png"],
  img[src*="container2.png"],
  img[src*="container3.png"],
  img[src*="container4.png"],
  img[src*="container5.png"] {
    display: block !important;
    margin: 0 auto !important;
  }
  
  /* Ensure feature cards center their content on mobile */
  .feature-card-2 {
    text-align: center !important;
  }
  
  /* Reduce white space around SAGE image on mobile */
  .content-image-wrapper-2-copy {
    margin-top: -30px !important;
    margin-bottom: -30px !important;
  }
  
  /* Reduce spacing in the section containing the SAGE image */
  .section-large-7 {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }
}




