
/* SUBNAV */
.library-subnav {
  background: #0c7a3e;
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 12px;
  text-transform: uppercase;
}

.library-subnav a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

/* INFO SECTION */
.info-section {
  display: flex;
  gap: 30px;
  padding: 60px 10%;
}

.info-card {
  background: #fff;
  padding: 30px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  flex: 1;
}

.info-card h3 {
  margin-bottom: 15px;
  font-size: 32px;
}

/* ACCESS SECTION */
.access-section {
  text-align: center;
  padding: 60px 10%;
  background: url("../../assets/images/access-card-bg.png") bottom/cover no-repeat;
}

.access-cards {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.access-card {
  flex: 1;
  padding: 40px 25px;
  color: #fff;
  height: 400px;
}

.access-card.green {
  background: #0c7a3e;
}

.access-card.red {
  background: #e31e3c;
}

.access-card h3 {
  margin: 55px 0;
  font-size: 32px;
  letter-spacing: 5px;
}

/* DIGITAL */
.digital-section {
  padding: 60px 10%;
  text-align: center;
}

.digital-cards {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  font-size: 32px;
}

.digital-card {
  flex: 1;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.digital-cards h3 {
  display: flex;
  align-items: center;
  gap: 20px;
}

.digital-card p {
  text-transform: uppercase;
  font-family: var(--theme-headings-font-family);
  /* font-size: 24px; */
  letter-spacing: 5px;
  margin-top: 85px;
}

.ebook {
  background-image: url('../../assets/images/ebook.jpg');
}

.journals {
  background-image: url('../../assets/images/ebook.jpg');
}

.digital-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 50px 30px;
}

/* SECTION BACKGROUND */
.registration-section {
  background: #f3f3f3;
  padding: 80px 20px;
  display: flex;
  justify-content: center;
}

/* CARD */
.registration-card {
  background: #fff;
  width: 700px;
  padding: 50px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.registration-card h2 {
  font-size: 28px;
  letter-spacing: 4px;
  margin-bottom: 40px;
  color: #333;
}

/* FORM STRUCTURE */
.form-group {
  margin-bottom: 25px;
}

.form-row {
  display: flex;
  gap: 30px;
}

.form-row .form-group {
  flex: 1;
}

/* LABELS */
label {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
  color: #444;
}

/* INPUTS */
input[type="text"],
input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  outline: none;
  transition: 0.3s ease;
}

input:focus {
  border-color: #11823b;
}

/* CHECKBOX STYLING */
.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
}

.checkbox input {
  display: none;
}

.checkbox span {
  width: 16px;
  height: 16px;
  border: 1.5px solid #aaa;
  display: inline-block;
  border-radius: 3px;
  position: relative;
}

.checkbox input:checked + span {
  background: #11823b;
  border-color: #11823b;
}

.checkbox input:checked + span::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-row {
  display: flex;
  gap: 25px;
}

.declaration {
  align-items: flex-start;
}

/* UPLOAD BOX */
.upload-box {
  border: 2px dashed #7bc27b;
  border-radius: 6px;
  padding: 30px;
  text-align: center;
  position: relative;
  background: #fafafa;
  cursor: pointer;
  transition: 0.3s ease;
}

.upload-box:hover {
  background: #f0f9f0;
}

.upload-box input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.upload-content p {
  font-size: 13px;
  color: #777;
  margin-top: 5px;
}

/* SUBMIT BUTTON */
.submit-btn {
  width: 220px;
  background: #11823b;
  color: #fff;
  padding: 14px;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  margin-top: 10px;
  transition: 0.3s ease;
}

.submit-btn:hover {
  background: #0d6a30;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .registration-card {
    padding: 35px 25px;
  }

  .form-row {
    flex-direction: column;
  }

  .submit-btn {
    width: 100%;
  }
}


/* RESPONSIVE */
@media (max-width: 992px) {
  .info-section,
  .access-cards,
  .digital-cards,
  .form-row {
      flex-direction: column;
  }

  .form-card {
      width: 100%;
  }
}