/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
  color: #212129;
  line-height: 1.6;
  background-color: #ffffff;
}


.features-container {
  display: flex;
  width: 100%;
  min-height: 360px;
  overflow: hidden;
  position: relative;
}

.image-column {
  flex: 0 0 33.33%;
  background-size: cover;
  background-position: center;
  position: relative;
  filter: grayscale(100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.features-column {
  flex: 0 0 75%;
  display: flex;
  flex-direction: column;
}

.feature-row {
  display: flex;
  flex-basis: 40%;
  align-items: center;
  padding: 20px 20px 20px 40px;
  min-height: 120px;
}

.feature-row:nth-child(odd) {
  background-color: #FFDE59; /* Yellow */
}

.feature-row:nth-child(even) {
  background-color: #F2F2F2; /* Light gray */
}

.icon-container {
  flex: 0 0 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 20px;
}

.feature-content {
  flex: 1;
}

.site-header-text {
  font-size: 1.1rem;
  margin: 0;
}

.feature-number {
  font-weight: bold;
  font-family: 'Spectral', serif;
}

.feature-title {
  font-weight: bold;
  font-size: 18px;
  display: inline;
  font-family: 'Spectral', serif;
}

.feature-description {
  font-size: 16px;
  display: inline;
  font-family: 'Spectral', serif;
}

/* Triangle notches in alternating rows */
.feature-row {
  position: relative;
}

.feature-row-pink, .feature-row-pink-last {
  background-color: #ffc3ff !important;
}

.feature-row-cyan, .feature-row-cyan-last {
  background-color: #71f7f2 !important;
}

.feature-row-pink::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 55%;
  margin-left: -50px;
  width: 0;
  height: 0;
  z-index: 100;
  border-top: solid 20px #ffc3ff;
  border-left: solid 20px transparent;
  border-right: solid 20px transparent;
}

.feature-row-yellow::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 55%;
  margin-left: -50px;
  width: 0;
  height: 0;
  z-index: 100;
  border-top: solid 20px #FFDE59;
  border-left: solid 20px transparent;
  border-right: solid 20px transparent;
}

.feature-row-grey::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 55%;
  margin-left: -50px;
  width: 0;
  height: 0;
  z-index: 100;
  border-top: solid 20px #F2F2F2;
  border-left: solid 20px transparent;
  border-right: solid 20px transparent;
}

.feature-row-cyan::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 55%;
  margin-left: -50px;
  width: 0;
  height: 0;
  z-index: 100;
  border-top: solid 20px #71f7f2;
  border-left: solid 20px transparent;
  border-right: solid 20px transparent;
}

.brochure-button {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}



/* Responsive adjustments */
@media (max-width: 768px) {
  .features-container {
    flex-direction: column;
  }

  .image-column {
    flex: 0 0 200px;
    width: 100%;
  }

  .features-column {
    flex: 1;
    width: 100%;
  }

  .feature-row {
    padding: 20px 15px;
  }
}


/* Typography */
h1, h2, h3, h4, .serif {
  font-family: 'Spectral', serif;
}

/* Grid system */
.container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
}

/* Column classes for 12-column grid */
.col-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
.col-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
.col-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-9 { flex: 0 0 75%; max-width: 75%; }
.col-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
.col-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

[class*="col-"] {
  padding: 0 15px;
  position: relative;
}

@media (max-width: 768px) {
  .hero-row .col-8 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .hero-row .col-2 {
    display: none;
  }
}


/* Header */
header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.logo {
  margin-right: 20px;
}

.mini-logo {
  height: 30px;
}

.logo-text {
  border-left: 2px solid #212129;
  padding-left: 20px;
  font-weight: 700;

}

.menu-icon {
  text-align: right;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
}

/* Fullscreen Navigation */
.fullscreen-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  z-index: 1000;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  padding-top: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.fullscreen-nav.active {
  opacity: 1;
  visibility: visible;
}

.close-icon {
  text-align: right;
  font-size: 40px;
  cursor: pointer;
  color: #ffffff;
}

.nav-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: calc(100% - 100px);
  padding: 60px 0;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.nav-link {
  font-family: 'Spectral', serif;
  font-size: 48px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #71f7f2;
}

.nav-cta {
  margin-top: 60px;
}

.nav-btn {
  display: inline-block;
  padding: 15px 30px;
  background-color: #71f7f2;
  color: #212129;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.nav-btn:hover {
  background-color: #5ad8d3;
}

/* Hero Section */
.hero {
  padding: 60px 0;
  background-color: #ffffff;
  background-position: center;
  background-size: cover;
}

.hero-content {
  border-left: 2px solid #212129;
  padding-left: 20px;
  max-width: 650px;
  margin: 0 auto;
  p {
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 30px;
    font-weight: 700;
  }
}

@media (max-width: 600px) {
  .hero-content p {
    font-size: 1.2rem; /* Adjust as needed */
  }
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #71f7f2;
  color: #212129;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 14px;
}

/* Features Cards */
.features {
  display: flex;
  flex-wrap: wrap;
  margin: 40px 0;
  gap: 20px;
}

.feature-card {
  flex: 1;

  padding: 30px 20px;
  position: relative;
  margin-top: 50px;
}

.feature-card.blue {
  background-color: #a5bfff;
}

.feature-card.green {
  background-color: #78f2c1;
}

.feature-card.pink {
  background-color: #ffd4f7;
}

.feature-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  position: relative;
  top: -50px;
  margin-bottom: -30px;
}

.feature-number {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 10px;
  font-family: 'Spectral', serif;
}


.feature-title {
  font-weight: bold;
  line-height: 1.2;
}

.feature-text {
  font-size: 14px;
}

/* Who we are section */
.who-we-are {
  background-color: #f0f0f1;
  padding: 60px 0;
}

.who-we-are h2 {
  margin-bottom: 40px;
  font-weight: 700;
}

.who-columns {
  display: flex;
  gap: 30px;
}

.who-column {
  flex: 1;
  text-align: left;
}

.who-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.who-title {
  margin-bottom: 15px;
  font-weight: 600;
}

/* Quote section */
.quote-section {
  background-color: #a5bfff;
  padding: 120px 0;
}

.quote-content {
  max-width: 600px;
  border-left: 2px solid #212129;
  padding-left: 20px;
}

.quote-text {
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 20px;
  font-weight: 600;
}

@media (max-width: 600px) {
  .quote-text {
    font-size: 1.2rem; /* Adjust as needed */
  }
}


.quote-author {
  font-style: italic;
}

.logo-small {
  margin-bottom: 30px;
  max-width: 100px;
}

.press-logo {
  max-height: 50%;
  width: 100%;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  bottom: -50px !important;
}

.pagination-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #212129;
  opacity: 0.3;
}

.pagination-dot.active {
  opacity: 1;
}

/* How it works section */
.how-it-works {
  padding: 80px 0;
}

.how-it-works h1 {
  font-size: 2rem;
  margin-bottom: 2rem;
  font-weight: 700;
}

.how-it-works h2 {
  margin-bottom: 0.5rem;
  font-weight: 700;
}



@media (max-width: 768px) {
  .how-it-works-image {
    display: none;
  }
}


.audience-text {
  color: #666;
  margin-bottom: 2rem;
}

.audience-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 4rem;
}

.audience-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 100px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid #212129;
  color: #212129;
  background: transparent;
  transition: all 0.2s ease;
  cursor: pointer;
}

.audience-btn-primary {
  background: #71f7f2;
  border-color: #71f7f2;
}

.audience-btn-primary-yellow {
  background: #ffe15f;
  border-color: #ffe15f;
}

.audience-btn-primary-pink {
  background: #ffc3ff;
  border-color: #ffc3ff;
}

.audience-btn.academics {
  border-color: #71f7f2;
}

.audience-btn.librarians {
  border-color: #ffe15f;
}

.audience-btn.publishers {
  border-color: #ffc3ff;
}

.content-wrapper {
  display: flex;
}

.image-container {
  flex: 0 0 25%;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.step-last {
  margin-bottom: 0 !important;
}

.steps-container {
  flex: 1;
}

.step {
  padding: 2rem;
  margin-bottom: 1rem;
}

.step:nth-child(odd) {
  background-color: #71f7f2;
}

.step:nth-child(even) {
  background-color: #f5f5f5;
}

.step-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.step-icon {
  width: 24px;
  height: 24px;
}

.step-number {
  font-weight: bold;
  margin-right: 0.5rem;
}

.step-title {
  font-family: 'Spectral', serif;
  font-weight: bold;
}

.step-content {
  padding-left: calc(24px + 1rem);
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background-color: #F2F2F2;
}

.cta-wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
}

.cta-image-container {
  position: relative;
  flex: 0 0 45%;
}

.cta-image {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
}

.cta-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  background-color: #a5bfff;
  z-index: 1;
}

.board-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 1;
}

.cta-content {
  flex: 1;
  border-left: 2px solid #212129;
  padding-left: 20px;
}

.cta-title {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 2rem;
  font-weight: 700;
}

/* Publishers Section */
.publishers-section {
  padding: 80px 0;
  background-color: #78f2c1;
}

.publishers-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.publishers-text {
  max-width: 600px;
  margin-bottom: 4rem;
}

.publishers-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-bottom: 3rem;
}

.publisher-logo {
  height: 80px;
  width: auto;
  max-width: 300px;
}

/* Footer Section */
.footer {
  padding: 80px 0;
  background-color: #ffd4f7;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  height: 350px;
}

.footer-left {

  position: relative;
}

.footer-title {
  font-size: 2.5rem;
  line-height: 1.3;
  margin-bottom: 2rem;
  border-left: 2px solid #212129;
  padding-left: 20px;
  font-weight: 700;
}

.footer-pattern {

  bottom: 0;
  left: 0;
  width: 300px;
  height: 150px;
  background-image: url("/static/img/OJC-logo.svg");
  background-repeat: no-repeat;
  background-position-y: bottom;
  opacity: 0.8;
}

.footer-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.footer-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

.footer-btn {
  display: block;
  padding: 1rem;
  border: 1px solid #212129;
  border-radius: 4px;
  text-decoration: none;
  color: #212129;
  transition: all 0.2s ease;
}

.footer-btn:hover {
  background-color: #212129;
  color: #ffffff;
}

.footer-links {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.footer-column h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-column a,
.footer-column p {
  display: block;
  margin-bottom: 0.5rem;
  color: #212129;
  text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .cta-wrapper,
  .footer-content {
    flex-direction: column;
  }

  .cta-image-container,
  .footer-left,
  .footer-right {
    flex: 0 0 100%;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .features,
  .who-columns,
  .content-wrapper {
    flex-direction: column;
  }

  .feature-card {
    min-width: 100%;
  }

  .image-container {
    flex: 0 0 100%;
  }

  .publishers-logos {
    justify-content: center;
  }

  .footer-links {
    flex-direction: column;
  }
  .nav-link {
    font-size: 36px;
  }
  .footer .container {
    height: 500px !important;
  }

  .audience-buttons {
    flex-direction: column;
    width: 100%;
  }

  .audience-btn {
    width: 100%;
    text-align: center;
  }

  .audience-text {
    padding-right: 15px;
  }
}

.library-board {
  margin-left: 20px;
}

.grey-placeholder {
  width: 100%;
  height: 260px;
  background-color: #e0e0e0;
  top: -50px;
  margin-bottom: 20px;
}

.board-grid .feature-image {
  height: 300px; /* or whatever value you want */
}

.board-grid .feature-card strong {
  font-family: Spectral, serif;
}
.board-grid .features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 20px; /* row and column gaps */
  margin: 40px 0;
}

.board-grid .feature-card {
  padding: 0;
  margin-top: 0;
  text-align: center;
}

.board-grid .feature-image {
  width: 100%;
  height: 260px;
  margin-bottom: 20px;
  position: static;
  top: 0;
}

@media (max-width: 1024px) {
  .board-grid .features {
    grid-template-columns: repeat(2, 1fr);
  }
  .board-grid .board-features {
    margin: 30px;
  }
  .board-grid h2 {
    margin-left: 30px;
  }
}

@media (max-width: 768px) {
  .board-grid .features {
    grid-template-columns: 1fr;
  }
  .board-grid h2 {
    margin-left: 30px;
  }
  .how-it-works-image {
    display: none;
  }
  .board-grid .feature-image {
    height: 400px;
  }
  .how-it-works .col-3, .how-it-works .col-9, .publishers-section .col-5, .publishers-section .col-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.publishers-ul {
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
}