@font-face {
    font-family: 'Boston Angel';
    src: url('./assets/fonts/Boston\ Angel\ Regular.ttf') format('embedded-opentype'),
        /* Internet Explorer */
        url('./assets/fonts/Boston\ Angel\ Regular.ttf') format('woff2'),
        /* Super Modern Browsers */
        url('./assets/fonts/Boston\ Angel\ Regular.ttf') format('woff'),
        /* Pretty Modern Browsers */
        url('./assets/fonts/Boston\ Angel\ Regular.ttf') format('truetype'),
        /* Safari, Android, iOS */
        url('./assets/fonts/Boston\ Angel\ Regular.ttf') format('svg');
    /* Legacy iOS */
    font-weight: 700;
}

@font-face {
    font-family: 'Boston Angel';
    src: url('./assets/fonts/Boston\ Angel\ Regular.ttf') format('embedded-opentype'),
        /* Internet Explorer */
        url('./assets/fonts/Boston\ Angel\ Regular.ttf') format('woff2'),
        /* Super Modern Browsers */
        url('./assets/fonts/Boston\ Angel\ Regular.ttf') format('woff'),
        /* Pretty Modern Browsers */
        url('./assets/fonts/Boston\ Angel\ Regular.ttf') format('truetype'),
        /* Safari, Android, iOS */
        url('./assets/fonts/Boston\ Angel\ Regular.ttf') format('svg');
    /* Legacy iOS */
    font-weight: 400;
}

*,
*::after,
*::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

*:last-child {
    margin-bottom: 0;
}

:root {
    --clr-primary: #23433E;
    --clr-primary-dark: #051D1D;
    --clr-accent: #C8975C;
    --clr-accent-dark: #B05D4B;
    --clr-grey-light: #EFEFEF;
    --font-title: 'Boston Angel', serif;
    --font-body: 'Raleway', sans-serif;
    font-family: var(--font-body);
    scroll-behavior: smooth;
}

body {
    color: #051D1D;
    line-height: 1.4;
    scroll-behavior: smooth;
}

.bg-primary {
    background-color: var(--clr-primary);
    color: #fff;
}

.row,
.row-mid,
.row-min {
    width: 100%;
    margin: auto;
}

.row {
    max-width: 1300px;
}

.row-mid {
    max-width: 1100px;
}

.row-min {
    max-width: 860px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1,
h2 {
    font-family: var(--font-title);
    font-weight: 400;
    text-align: center;
}

h3,
h4,
h5,
h6 {
    font-family: var(--font-body);
}

h1,
h2 {
    font-size: 44px;
    line-height: 1.1;
    margin-bottom: 1rem;
}

h2 {
    font-size: 42px;
    margin-bottom: 1.5rem;
}

h3 {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 24px;
    line-height: 1.2;
}

h3.subtitle {
    margin-bottom: 1rem;
}

h4 {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 0.25rem;
}

h5 {
    font-weight: 400;
    font-size: 18px;
    margin-bottom: 0.25rem;
}

ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem
}

ul li {
    margin-bottom: 0.5rem;
}

p {
    font-size: 16px;
    margin-bottom: 0.5em;
}

a[class^="btn"], button {
    --btn-color: var(--clr-primary);
    display: inline-block;
    text-decoration: none;
    font-size: 18px;
    padding: 0.75em 1.5em;
    border-radius: 0px;
    border: 2px solid var(--btn-color);
    color: #fff;
    background-color: var(--btn-color);
    cursor: pointer;
    transition: opacity 0.3s ease;
}

a[class^="btn"]:hover, button:hover {
    opacity: 0.85;
}

a.btn-accent, button.btn-accent {
    --btn-color: var(--clr-accent);
}

a.btn-accent-alt {
    --btn-color: var(--clr-accent);
    box-sizing: border-box;
    background-color: transparent;
    color: var(--clr-accent);
}

.txt-center {
    text-align: center;
}

section {
    padding: 3rem 2rem;
}

.columns-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.columns-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.columns-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}



header {
    text-align: center;
}

.logo {
    width: 100%;
    max-width: 90px;
}

.logo-bar {
    padding: 1rem;
}

.logo-bar .logo {
    margin: auto;
}

.clr-accent {
    color: var(--clr-accent);
}

.clr-txt-accent {
    color: var(--clr-accent-dark);
}

.bold {
    font-weight: 700;
}

.hero-section {
    position: relative;
    height: calc(100vh - 191px);
    display: grid;
    align-items: center;
    justify-content: center;
    color: #fff;
    overflow: hidden;
    perspective: 1200px;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    z-index: 0;
    inset: 0px;
    background-image: url(./assets/people/team-pic.jpg);
    background-size: cover;
    background-position: 50% 0%;
    background-repeat: no-repeat;
    transform-style: preserve-3d;
    transform: translateZ(-100px) scale(1.3);
}

.hero-overlay,
.overlay {
    position: absolute;
    z-index: 1;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.75);
}

.hero-section .hero-content {
    position: relative;
    z-index: 2;
    padding-inline: 4rem;
    transform-style: preserve-3d;
    transform: translateZ(0);
}

.button-grid {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-content .button-grid {
    justify-content: center;
    margin-top: 1.5rem;
}

.badge-container {
    display: flex;
    flex-flow: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
}

.badge-icon {
    min-width: 80px;
    width: 10vw;
    max-width: 100px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    object-position: center;
    margin-bottom: 1rem;
}

.bg-grey {
    background-color: var(--clr-grey-light);
}

#about-journal {
    padding: 0;
}


.columns-2-card {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border-radius: .5rem;
    overflow: hidden;
}

.columns-2-card .split-image img:first-child {
    opacity: 1;
    transition: 1s ease;
}

.columns-2-card:hover .split-image img:first-child {
    opacity: 0;
}

.split-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.split-image img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.split-image img[alt="Journal Image"] {
    z-index: 5;
    object-position: 50% 20%;
}

.card-content {
    padding: 4rem;
    height: 100%;
}

.card-content h2 {
    text-align: left;
}

.simple-img-card {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 1rem;
}

.simple-img-card .card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    margin-bottom: 1rem;
}

#volume-pricing {
    text-align: center;
}

#volume-pricing table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    margin-bottom: 1rem;
    border-bottom: 4px solid var(--clr-primary);
    border-radius: .5rem;
    overflow: hidden;
}

#volume-pricing th,
#volume-pricing td {
    width: 50%;
    padding: 1rem;
    text-align: center;
}

#volume-pricing th {
    background-color: var(--clr-primary);
    color: #fff;
    border-bottom: 1px solid var(--clr-primary-dark);
}

#volume-pricing tr:nth-child(odd) {
    background-color: var(--clr-grey-light);
}

#volume-pricing th:not(:last-child),
#volume-pricing td:not(:last-child) {
    border-right: 1px solid var(--clr-primary-dark);
}

#customization {
    position: relative;
    background-image: url(./assets/journal/2journal-candid.PNG);
    background-size: cover;
    background-position: 50% 75%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #fff;
}

#customization .row-mid {
    position: relative;
    z-index: 2;
}

.pill-list {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    margin-top: 1rem;
}

.pill-list li {
    font-size: 18px;
    background-color: rgba(255, 255, 255, 0.3);
    padding: 0.5rem 2rem;
    border-radius: 100vw;
    font-weight: 400;
    min-width: max-content;
    backdrop-filter: blur(5px);
    margin-bottom: 0;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.review-card {
    border: 1px solid var(--clr-grey-light);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.review-title {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.review-title .reviewer-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    overflow: hidden;
}

.reviewer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.review-title .reviewer-name {
    font-weight: 600;
    margin-bottom: 0;
}

.reviewer-name+img {
    width: 120px;
    margin-top: 0;
}

#holiday-deadline {
    padding-block: 4rem;
}

#holiday-deadline h2 {
    margin-bottom: .5rem;
}

footer {
    background-color: var(--clr-primary-dark);
    color: white;
    padding: 4rem 3rem;
}

footer .logo+p {
    max-width: 350px;
    margin-top: 1rem;
    font-size: 18px;
}

footer nav {
    margin-top: 2rem;
    font-size: 18px;
}

footer nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

footer nav ul a {
    color: white;
}

/* Form Branding */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.row-2 {
    display: grid;
    gap: 1rem;
}

@media (min-width: 720px) {
    .row-2 {
        grid-template-columns: 1fr 1fr;
    }
}

select[multiple] {
    width: 100%;
    min-height: 12rem;
}

label {
    display: block;
    font-weight: 600;
    margin: .75rem 0 .35rem;
    text-align: left;
}

input,
textarea,
select,
button {
    font: inherit;
}

input,
textarea,
select {
    text-align: left;
    width: 100%;
    padding: .8rem 1rem;
    border: 1px solid #dcdfe4;
    border-radius: 4px;
    background: var(--clr-grey-light);
}

div.choices {
    margin-bottom: 0;
}

button {
    margin-top: 2rem;
    width: 100%;
    font-size: 18px;
    max-width: 398px;
    margin-inline: auto;
    text-align: center;
    padding: 1rem;
    border: 0;
    background: #c39258;
    color: #fff;
    font-weight: 400;
}

/* Override Choice.js Styling */

/* === Choices.js overrides to match your inputs === */
.choices { width: 100%; font: inherit; }
.choices__inner {
    font-size: inherit !important;
    display: flex; align-items: center;
    min-height: 49.99px !important;           /* same height as inputs */
    padding:  .8rem 1rem !important;       /* match your input padding */
    border: 1px solid #dcdfe4;    /* input border */
    border-radius: 4px !important;           /* input radius */
    background: var(--clr-grey-light) !important;          /* input bg */
    box-shadow: none;
}
.choices__placeholder { color: #7a8793; opacity: 1; }
.choices__list--single .choices__item { line-height: 1.5; }

/* Multi-select tags (selected items) */
.choices__list--multiple {
    display: flex; gap: .35rem; flex-wrap: wrap;
}
.choices__list--multiple .choices__item {
    margin: 0; padding: .25rem .5rem;
    background-color: var(--clr-grey-light);    /* subtle chip bg */
    border: 1px solid #dcdfe4;
    color: #13232f;
    border-radius: 6px;
    font-weight: 600;
}
.choices__list--multiple .choices__item.is-highlighted {
    background-color: var(--clr-grey-light); border-color: #b8c9da;
}

/* Remove (x) button on chips */
.choices__button {
    border-left: none; margin-left: .25rem;
    background: transparent; opacity: .6;
}
.choices__button:hover { opacity: 1; }

/* Dropdown panel */
.choices__list--dropdown,
.choices__list[aria-expanded] {
    border: 1px solid #dcdfe4;
    border-radius: 8px;
    background: #fff;
    /* box-shadow: 0 8px 24px rgba(20,40,60,.08); */
}
.choices__list--dropdown .choices__item--selectable.is-highlighted {
  background: #f6f8fb; color: #0b2239;
}

/* Focus + open states to mirror input focus */
.choices.is-focused .choices__inner,
.choices.is-open .choices__inner {
  border-color: #1a73e8;
  outline: 3px solid #d7e6ff;   /* same focus ring as inputs */
}

/* Make the whole control feel like a single-line input */
.choices[data-type*="select-multiple"] .choices__input {
  /* hide the internal text input if you disabled search */
  display: none;    /* searchEnabled:false */
}

.choices__list--multiple .choices__item {
    display: inline-block;
    vertical-align: middle;
    border-radius: 4px !important;
    padding: 0px 10px !important;
    font-size: 12px;
    font-weight: 500;
    margin-right: 3.75px;
    margin-bottom: 3.75px;
    background-color: var(--clr-primary) !important;
    border: 1px solid var(--clr-primary-dark) !important;
    color: #fff;
    word-break: break-all;
    box-sizing: border-box;
}

#get-a-quote button[type="submit"] {
    margin-bottom: 3rem;
    text-align: center;
    margin-left: calc((100% - 398px) / 2);
}

#get-a-quote h2 {
    margin-bottom: .5rem;
}

  /* Cardless layout (full-bleed on dark) */

footer h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    text-align: left;
    margin: 0 0 1rem;
    font-weight: 700;
    letter-spacing: .2px;
  }

  footer label {
    display: block;
    font-weight: 600;
    margin: 1rem 0 0.25rem;
  }

  footer input, footer textarea {
    width: 100%;
    font: inherit;
    color: #e9f0ec;
    background: #2a4742;           /* muted green field */
    border: 1px solid #2f534e;
    padding: .4rem 1rem;
    border-radius: 0;
  }
  footer input::placeholder, footer textarea::placeholder { color: #b7c5c1; }
  footer input:focus, footer textarea:focus {
    outline: 3px solid rgba(211, 225, 255, .18);
    border-color: #c7d7ff22;
  }

  footer .subtext {
    margin: 1.5rem 0 0;
    font-style: italic;
    color: #d9e3df;
  }

  footer button {
    width: 50%;
  }

  /* Smaller label style for bot question if you want it subtle */
  footer .botq { font-weight: 400; opacity: .9; font-size: 16px; font-style: italic; }

  .horiz-field {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 2rem;
    margin-top: 1rem;
  }

  .horiz-field label {
    margin-top: 0.25rem;
  }

  /* Media Queries */

@media (max-width: 1080px) {
    #about-journal {
        margin-inline: 4rem;
    }
    .columns-2-card {
        grid-template-columns: 1fr;
        margin: auto;
    }
    .split-image {
        height: 300px;
    }
    .split-image img:first-child {
        object-position: 50% 15%;
    }
    .split-image img:nth-child(2) {
        object-position: 50% 24%;
    }
  }

  @media (max-width: 800px) {
    section {
        padding: 2rem 2rem;
    }

    footer .columns-2 {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    footer .columns-2 div:first-child {
        order: 0;
    }
    
    .columns-3 {
        grid-template-columns: 1fr;
    }

    #reviews .columns-3 > div {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .review-card {
        margin: 0;
    }

    #how-it-works {
        margin-left: 10%;
        margin-right: 10%;
    }

    .columns-4 {
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }

    #badges {
        padding-inline: 15%;
    }
  }

  @media (max-width: 650px) {
    h1, h2 {
        font-size: 34px;
    }

    h3 {
        font-size: 20px;
    }

    .hero-section {
        height: calc(100vh - 151px);
    }

    .hero-section .hero-content {
        padding-inline: 2rem;
    }

    #about-journal {
        margin-inline: 2rem;
    }

    #how-it-works {
        margin-left: 5%;
        margin-right: 5%;
    }

    footer {
        padding: 3rem 2rem;
    }

    a[class^="btn"], button {
        font-size: 18px;
        padding: 0.5em 1.5em;
    }

    #reviews .columns-3 > div {
        grid-template-columns: 1fr;
    }
  }
    .modal-overlay {
        position: fixed;
        inset: 0;
        background-color: rgba(0,0,0,0.6);
        z-index: 999;
    }

    .modal-content {
        position: fixed;
        z-index: 1000;
        display: grid;
        align-items: center;
        justify-items: center;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 500px;
        padding: 3rem;
        background-color: #fff;
        border-radius: 8px;
        text-align: center;
    }

    .modal-content h2 {
        margin: 0;
    }

  .modal-content .close-button {
    position: absolute;
    top: 0px;
    right: 14px;
    font-size: 28px;
    font-weight: bold;
    color: var(--clr-primary-dark);
    cursor: pointer;
  }