
@font-face {
    font-family: "Spirit";
    src: url("./index_files/spirit.ttf");
}

* {
    box-sizing: border-box;
    font-family: var(--font-family);
}

:root {
    --primary-color: #373d20;
    --secondary-color: #717744;
    --tertiary-color: #766153;
    --white: #f2f3f4;
    --font-family: 'Noto Sans', sans-serif;
}

body, html {
    margin: 0;
    padding: 0;
    background-color: var(--white);
    width: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    height: 100%;
}

/* Home Layout */
header {
    width: 100%;
    height: 120px;
}

nav {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 0 3em;
    width: 100%;
    min-width: 750px;
    box-shadow: 0 1px 10px gray;
}

nav, .nav-list, li a {
    height: 100%;
}

#logo {
    width: 100px;
}

.nav-list {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 50%;
}

.nav-list > li:last-child {
    background: var(--secondary-color);
    flex-basis: 800px;
}

.link-item {
    display: flex;
    width: 100%;
    background: transparent;
    transition: 1s;
}

.link-item a {
    width: 100%;
}

main {
    width: 100%;
    height: 100%;
    flex-grow: 1;
    display: flex; /* Add this */
    flex-direction: column;
}

.landing-section {
    display: flex;
    flex: 1;
    width: 100%;
    height: 100%;
}

.landing {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 3em 0 0 4em;
}

.headline {
    width: 70%;
    margin: 0.2em 0;
    min-width: 430px;
    max-width: 450px;
}

.covered {
    padding: 0;
}

.term {
    display: flex;
    align-items: center;
    list-style-type: none;
    gap: 0.8em;
    margin: 0 0 0.8em 0.1em;
}

.landing-img {
    width: 600px;
    object-fit: cover;
    padding: 0;
    margin: 0;
}

.cta {
    display: flex;
    gap: 2em;
    width: 80%;
    margin-top: 1em;
    min-width: 600px;
}

.link-button {
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    padding: 1em 3em;
    background: transparent;
    transition: 1s;
}

.socials {
    display: flex;
    gap: 0.5em;
}

.po-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3em;
}

.po-box h6, .po-box p {
    margin: 0;
}

.treatment-info {
    display: flex;
    flex-direction: column;
}

.treatment-subtext {
    font-size: 0.75rem;
    color: #666;
    margin-top: 2px;
    font-style: italic;
    max-width: 200px;
}

.appointment-details {
    align-items: flex-start !important;
}

/* Log In Layout */
.form-modal {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-inline: auto;
    margin-top: 4em;
    width: 70%;
    min-width: 600px;
}

.login-header {
    width: 50%;
    min-width: 400px;
    margin: 0;
}

.login-cap {
    margin: 0.5em 0 0 0;
    min-width: 400px;
    width: 40%;
}

.login-label {
    display: block;
    margin-bottom: 0.7em;
}

.login {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-inline: auto;
    margin-block: 2em;
    width: 38%;
}

.signup {
    display: flex;
    margin-inline: auto;
    gap: 2em;
    flex-basis: 88%;
    flex-wrap: wrap;
}

.signup-form {
    width: 100%;
    margin-block: 2em;
}

fieldset {
    border: 0.5px solid var(--secondary-color);
    border-radius: 10px;
    padding: 1em 2em;
    flex-grow: 1;
}

.login-label, .signup input, .login input, #school, #gender, .submit {
    text-align: left;
    width: 100%;
}

.signup input, .login input, #school, #gender {
    background: none;
    border: 1px solid var(--primary-color);
    outline: none;
    border-radius: 10px;
    margin-bottom: 1em;
    padding: 1.2em;
}

#school, #gender {
    appearance: none;
}

.submit {
    text-align: center;
    background: var(--primary-color);
    margin-top: 1em;
    padding: 1.2em;
    border: none;
    border-radius: 10px;
}

.signup-button {
    width: 40%;
    margin-inline: auto;
    margin-top: 2em;
}

.sign-up-option {
    display: flex;
    gap: 0.5em;
    margin: 0 0 3em 0;
}

button {
    cursor: pointer;
}

/* About Layout */

.title-section {
    position: relative;
    text-align: center;
    background: linear-gradient(to top, #eff1ed, white);
    padding: 3em 3em 6em 3em;
}

.about-img {
    width: 75%;
    border-radius: 10px;
}

.title-container {
    position: absolute;
    top: 35vw;
    left: 0;
    right: 0;
    bottom: 0;
    min-width: 800px;
    width: 60vw;
    padding: 1em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--white);
    border-radius: 10px;
    height: fit-content;
    margin-inline: auto;
    box-shadow: 0 1px 5px grey;
}

.title-container h2 {
    margin: 0;
}

.title-container h1 {
    margin: 0.4em 0 0.1em;
}

.title-container p {
    width: 60%;
}

.main-article {
    display: flex;
    padding: 3em;
    gap: 2em;
    width: 90%;
    margin-inline: auto;
}

.offspring-blog {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    color: #333; /* Or your preferred text color */
}

.offspring-blog h1 {
    color: var(--secondary-color);
    min-width: 800px;
    font-size: 2.5rem;
    margin: 0;
}

.offspring-blog h3 {
    color: var(--primary-color);
    margin-top: 2em;
}

.offspring-blog p {
    margin-bottom: 1.2em;
}

.blog-term li {
    margin: 0;
    margin-bottom: 1em;
}

.share {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.share-title {
    font-size: 0.8rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.get-started {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5em;
    background: white;
    text-align: center;
    width: 60%;
    margin-block: 3em 1em;
    margin-inline: auto;
    padding: 1em 2em;
    border-radius: 10px;
    box-shadow: 0 1px 3px grey;
}

/* FAQ */
.faq-section {
    padding: 4em;
    max-width: 1000px;
    margin: 0 auto;
    flex-grow: 1;
}
.faq-item {
    margin-bottom: 2.5em;
    border-bottom: 1px solid #ddd;
    padding-bottom: 1.5em;
}
.faq-item:last-child {
    border-bottom: none;
}
.faq-item h3 {
    color: var(--secondary-color);
    font-family: var(--font-family);
    font-weight: 600;
    margin-bottom: 0.8em;
    display: flex;
    align-items: center;
    gap: 10px;
}
.faq-item p {
    color: var(--primary-color);
    line-height: 1.6;
    font-weight: 300;
    margin: 0;
}

/* Footer */
footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10em;
    width: 100%;
    background: var(--primary-color);
    padding: 2em;
    box-shadow: 0 -1px 3px black;
}

/* Search Layout */
.search-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 3em;
    width: 100%;
}

.search-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 60%;
    min-width: 350px;
    margin-bottom: 2em;
}

.search-fields {
    display: flex;
    gap: 1em;
    width: 100%;
    justify-content: center;
}

.search-bar, .search-filter {
    padding: 1em 1.5em;
    border-radius: 12px;
    border: 1px solid var(--primary-color);
    font-size: 1rem;
    width: 40%;
}

.search-filter {
    appearance: none;
    width: 25%;
    border-radius: 12px;
    border: 1px solid var(--primary-color);
    padding: 1em 1.5em;
    padding-right: 2.5em;
}

.search-results {
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

.result-card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 8px #ccc;
    padding: 2em;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    animation: slideInLeft 0.7s;
}

/* Typography */

a {
    text-decoration: none;
}

li a {
    text-align: center;
    align-content: center;
    text-transform: uppercase;
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 0.9rem;
    color: var(--white);
}

.nav-list > li:last-child a {
    color: var(--white);
}

.headline {
    font-size: 4rem;
    font-family: "Spirit", sans-serif;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: var(--secondary-color);
    width: 100%;
    margin-bottom: 2.5rem;
}

.school-found-section {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f7f9f6;
    border-radius: 12px;
    box-shadow: 0 2px 8px #e0e0e0;
    padding: 2em 1.5em;
    margin-top: 2em;
    width: 100%;
    max-width: 500px;
    margin-inline: auto;
}
.school-found-section p {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 1.5em;
    text-align: center;
}
.school-found-section .link-button {
    font-size: 1.1rem;
    padding: 0.8em 2.5em;
}

.covered {
    color: var(--secondary-color);
}

.covered i {
    font-size: 1.5rem;
}

.covered span {
    font-weight: 300;
}

.link-button {
    background: var(--primary-color);
    color: var(--white);
    font-family: 'Noto Sans', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.7em 2em;
    border-radius: 10px;
    border: 1px solid var(--primary-color);
    transform: scale(1);
    transition: transform 1s ease;
}

.login-header {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.login-cap {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--primary-color);
    opacity: 0.9;
} 

legend {
    font-weight: bold;
    color: var(--primary-color);
}

.login-label {
    font-size: 0.8rem;
    color: var(--secondary-color);
}

.login input {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.submit {
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--white);
}

.sign-up-option {
    font-weight: 300;
    color: var(--primary-color);
    opacity: 0.8;
}

.sign-up-option a {
    font-weight: 500;
    color: var(--secondary-color);
}

footer {
    color: var(--white);
}

.socials {
    font-size: 2rem;
    cursor: pointer;
}

.po-box h6 {
    font-size: 0.8rem;
    text-decoration: underline;
}

.po-box p {
    font-size: 0.6rem;
}

.title-container h2 {
    font-size: 1.2rem;
    font-weight: 200;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.title-container h1 {
    font-size: 2em;
    font-weight: 500;
    text-transform: capitalize;
    letter-spacing: 0.05em;
}

.title-container p {
    line-height: 1.5;
    letter-spacing: 0.02em;
    word-spacing: 0.1em;
}

.search-headline {
    color: var(--primary-color);
    font-size: 4em;
    font-family: "Spirit", sans-serif;
}

.get-started p {
    font-weight: 500;
    font-size: 1.2rem;
    color: var(--secondary-color);
}

/* Animations */

.link-item:hover, .link-item:focus {
    background: #49502a;
    transition: 0.3s;
}

.nav-list > li:last-child:hover, .nav-list > li:last-child:focus {
    background: #7a8646;
    transition: 0.3s;
}

.link-button:hover, .link-button:focus {
    transform: scale(1.1);
    transition: transform 0.8s ease;
}

.slide-in-left {
  animation: slideInLeft 1s ease-out forwards;
}

.slide-in-up  {
  animation: slideInUp 0.5s ease-out forwards;
}


@keyframes slideInLeft {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
/* Utility */

.primary {
    background: var(--primary-color);
}

.secondary-gradient {
    background: linear-gradient(to right, var(--secondary-color), var(--white));
}

.gradient {
    font-family: inherit;
    background: linear-gradient(to right, #183a37, var(--secondary-color));
    background-clip: text;
    color: transparent;
}

.reverse {
    background: transparent;
    color: var(--primary-color);
}

/* .landing-img {
    width: 500px;
    height: 500px;
    background-image: url("./index_files/smiling-woman.jpg");
    background-size: cover;
} */