/*
Theme Name: Basic WordPress Theme
Description: A minimal WordPress theme with basic styles
Version: 1.0
Author: Mark Williams
Text Domain: basic-theme
*/

/* Fonts */
@font-face {
    font-family: 'Kojo Never';
    src: url('assets/fonts/kojo-neverregular/kojo-neverregular-webfont.woff2') format('woff2'),
         url('assets/fonts/kojo-neverregular/kojo-neverregular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Manrope", sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;

}

/* Header */
.site-header {
    background: #222;
    color: #fff;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "Kojo Never";
}

.site-title {
    margin: 0;
    font-size: 1.5rem;
}

.site-title a {
    color: #fff;
    text-decoration: none;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.main-navigation a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.main-navigation a:hover {
    opacity: 0.8;
}

/* Main Content */
.site-main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

article {
    margin-bottom: 3rem;
}

.entry-header {
    margin-bottom: 1.5rem;
}

.entry-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #222;
}

.entry-content {
    font-size: 1.125rem;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.entry-content img {
    max-width: 100%;
    height: auto;
}

/* Footer */
.site-footer {
    background: #222;
    color: #fff;
    padding: 2rem;
    text-align: center;
    margin-top: 3rem;
}

.footer-menu ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.footer-menu a {
    color: #fff;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        gap: 1rem;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .entry-title {
        font-size: 2rem;
    }
}


.footer {
  margin-top: 4rem;
}

.gf_progressbar_title {
    font-weight: 300;
    font-size: 14px;
    margin-bottom: 8px;
}

.gsection_title {
    font-family: "Kojo Never" !important;
    letter-spacing: .18em !important;
    margin-bottom: 0;
    font-size: 26px;
    color: rgb(31, 31, 31);
    margin: auto;
    text-align: left;
}

.wp-block-post-content {
  margin-top: 0 !important;
}

.wp-block-post-title {
    font-family: "Kojo Never" !important;
    letter-spacing: .18em !important;
    margin-top: 40px !important;
    margin-bottom: -10px;
    font-size: 30px;
    color: #00dab8;
    text-align: center;
}

.gf-sticky-header-bottom {
  max-width: 95% !important;
  margin-left: 0;
}

.gfield.gfield--type-section {
  border-bottom: 0 !important;
}

.gfield.gfield--type-section + .gfield--type-subheading {
  margin-top: -20px !important;
}

.gf-subheading-text {
    color: rgb(31, 31, 31) !important;
    font-weight: 600 !important;
}

.gsection_description {
  font-size: 13px !important;
}

.gfield--type-subheading .gfield_description {
    font-size: 13px !important;
    margin-bottom: 1rem imo !important;
}

.gf-sticky-subheading {
  color: rgb(31, 31, 31) !important;
}

.gform-page-footer {
  position: fixed !important;
  bottom: 0 !important;
  width: 100% !important;
  left: 0 !important;
  background: white !important;
  padding: 15px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
  z-index: 9;
}

.gform_save_link.gform-theme-button {
  margin-left: auto !important;
}

.gfield--type-fileupload .gfield_label {
  pointer-events: none !important;
}


.gf-grid-rating-menu {
  min-width: 160px !important;
  margin-top: 0 !important;
}

.gf-grid-rating-field label {
    margin-bottom: 6px;
}

.gf-grid-rating-menu-toggle {
  outline: none !important;
}

.gf-page-nav-item.completed .gf-page-nav-number {
    background: #c5c5c5 !important;
}

.gf-page-nav-item.active {
    border-left-color: #00dab8;
    background: #f7f7f7;
}

.gf-page-nav-item.active .gf-page-nav-number {
    background: #00dab8 !important;
}

.gf-page-nav-menu {
    width: 100vw;
    max-width: 450px;
    border: 0;
    border-radius: 4px;
    margin-top: 15px;
        overflow: auto;
    max-height: calc(100vh - 85px);
}

.gf-page-nav-label {
  font-size: 12px;
}



.gf-grid-rating-menu-item {
    font-size: 12px !important;
    padding: 6px 9px !important;
    border-bottom: 1px solid #e3e3e3 !important;
}


:root .gform-theme--foundation,
:root .gform-theme--api {
  --gf-form-gap-y: 20px !important;
}

.gfield--type-grid_rating {
    margin-top: 40px !important;
}

.gf-grid-rating-option span {
  top: -50px !important;
}

.gf-comment-text {
  font-size: 12px !important;
  color: #666 !important;
  margin-bottom: 8px !important;
}

.gform-page-footer {
  z-index: 99 !important;
  background: white;
}

.gf-sticky-header-top {
  gap: 15px;
  max-width: 100%;
}

.gf-page-nav-container {
  top: 10px !important;
}

.gf-sticky-page-info {
  font-size: 11px;
}

.gf-sticky-section {
  font-size: 11px;
}

.gf-sticky-page-title {
  font-size: 14px;
}

.gf-sticky-progress-fill {
  background: linear-gradient(270deg, #00c2ff 0%, #7838e2 100%);
}

.header-logo {
  width: 55px;
  height: 55px;
  margin: 0 !important;
}

.header-title {
  font-family: "Kojo Never";
  color: black;
  margin: 0 !important;
      letter-spacing: .10em !important;
}

.header-help {
  width: 40px;
  height: 40px;
  display: block;
  background: none;
  outline: none;
  border: 0;
  margin: 0 !important;
}

.header-help:active {
  transform: scale(0.9);
}

.header-help svg {
  width: 100%;
  height: 100%;
}

.main-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 30px;
}

  .brand-logo {
    max-width: 60px;
    margin: 0;
  }

  .burger-nav {
    margin: 0 !important; 
    width: 25px;
  }

/* Help Modal */
.help-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 30px;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99999;
  opacity: 0;
  transition: opacity 0.3s ease;
  overflow-y: auto;
}

.help-modal.show {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 20px;
}

.help-modal.show.fade-in {
  opacity: 1;
}

.help-modal-content {
  background: white;
  border-radius: 8px;
  padding: 30px;
  max-width: 600px;
  width: 100%;
  position: relative;
  transform: translateY(-50px);
  transition: transform 0.3s ease;
  overflow-y: auto;
  max-height: 90vh;
}

.help-modal.fade-in .help-modal-content {
  transform: translateY(0);
}

.help-modal-close {
  position: sticky;
  display: block;
  margin-left: auto;
  margin-top: -16px;
  margin-right: -16px;
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: #666;
  line-height: 1;
  padding: 0;
  width: 32px;
  height: 32px;
}

.help-modal-close:hover {
  color: #000;
}

.help-modal-content {
  font-size: 12px;
}

.help-modal-content h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 16px;
  margin-top: 20px;
}

.help-modal-content p {
  margin-bottom: 14px;
}

.help-modal-content ul {
  margin-bottom: 14px;
}

.help-modal-content li {
  margin-bottom: 5px;
  list-style: none;
}

.gform_submission_error.hide_summary {
  margin-top: 1rem !important;
}

.gfield_required.gfield_required_text {
  display: none !important;
}

.gform_validation_errors {
  outline: none !important;
  border-color: #b2432a89 !important;
}

.validation_message {
  min-width: 300px !important;
}

/* File Upload Customization */
/* Hide the default cloud icon */
.gform_drop_area::before {
  display: none !important;
}

/* Add camera icon before the instructions */
.gform_drop_instructions::before {
  content: '';
  display: inline-block;
  width: 48px;
  height: 48px;
  margin-right: 0;
  vertical-align: middle;
  background-image: url("data:image/svg+xml,%3Csvg width='48' height='48' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M23 19C23 19.5304 22.7893 20.0391 22.4142 20.4142C22.0391 20.7893 21.5304 21 21 21H3C2.46957 21 1.96086 20.7893 1.58579 20.4142C1.21071 20.0391 1 19.5304 1 19V8C1 7.46957 1.21071 6.96086 1.58579 6.58579C1.96086 6.21071 2.46957 6 3 6H7L9 3H15L17 6H21C21.5304 6 22.0391 6.21071 22.4142 6.58579C22.7893 6.96086 23 7.46957 23 8V19Z' stroke='%2300dab8' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M12 17C14.2091 17 16 15.2091 16 13C16 10.7909 14.2091 9 12 9C9.79086 9 8 10.7909 8 13C8 15.2091 9.79086 17 12 17Z' stroke='%2300dab8' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}