html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    max-width: 100vw;
}

html,
body {
    padding: 0;
    margin: 0;
    width: 100%;
    overflow-x: auto;
}

body {
    background-color: #F4F1EC;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.content-page {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    margin: 1rem;
}


h1 {
    font-family: 'Libre Baskerville', sans-serif;
    font-weight: 400;
}

.content-div {
    font-family: 'Inter';
    font-weight: 300;
}


#menu-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1001;
    background: none;
    border: none;
    color: #CDAD7D;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

#menubar.visible~#menu-toggle {
    opacity: 0;
    pointer-events: none;
}

#menubar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #DBBF94;
    padding: 1rem;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.menu-item {
    margin: 0 1rem;
    text-align: center;
    color: black;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    transition: color 0.3s;
}

.menu-item:hover {
    color: #666;
}

#menu-middle {
    text-align: center;
}

#middle-top {
    font-family: 'Libre Baskerville', sans-serif;
    font-size: 1.4rem;
    margin: 0;
}

#middle-bottom {
    font-family: 'Libre Baskerville', sans-serif;
    font-size: 1rem;
    margin: 0;
}

#first-page {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url('assets/front_bg.webp');
    background-size: cover;
    padding: 2rem;
    text-align: center;
}

#first-header {
    max-width: 800px;
    margin: 0 auto 2rem;
    color: #CDAD7D;
    text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.2);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    width: 90%;
}

#first-content {
    text-align: center;
    font-weight: 400;
    color: #F4F1EC;
    font-size: clamp(1rem, 1.5vw, 1.2em);
    margin: 1rem auto;
    margin-bottom: 3rem;
    max-width: 600px;
    text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.2);
}

.logo-container {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 10;
}

.logo-top {
    font-family: 'Libre Baskerville', sans-serif;
    font-size: 1.2em;
    color: #CDAD7D;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.logo-bottom {
    font-family: 'Inter', sans-serif;
    font-size: 0.9em;
    color: #F4F1EC;
    margin: 0.2rem 0 0 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

#second-page {
    background-color: #F4F1EC;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 4rem;
    gap: 4rem;
    margin-top: 2rem;
    width: 100%;
    max-width: 100%;
}

#txt-section {
    flex: 1;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

#img-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

#sm-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 0;
    display: block;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#shaneis-text {
    color: #CDAD7D;
    font-size: clamp(3rem, 8vw, 8rem);
    margin: 1rem 0 0 1rem;
    padding: 0;
    display: block;
    text-align: left;
    line-height: 0.8;
}

#murray-text {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin: -0.3rem 0 0 4rem;
    padding: 0;
    text-align: left;
    display: block;
    line-height: 1;
}

#second-header {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: #666;
    margin: 0 0 0.5rem 0;
    padding: 0;
    text-align: left;
}

#txt-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Inter';
    font-size: clamp(1rem, 1.5vw, 1.1em);
    font-weight: 300;
    width: 90%;
    margin: 1 auto;
}

#third-page {
    padding: 2rem;
    margin: 0 auto;
    max-width: 1200px;
    width: 90%;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

#third-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

#box-div {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    width: 100%;
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.textbox {
    flex: 1;
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: fit-content;
    width: 100%;
    max-width: 100%;
    margin: 0 0 1rem 0;
    padding: 1rem;
}

.text-box-header {
    font-family: 'Libre Baskerville', sans-serif;
    font-size: 1.3em;
    margin: 0 0 0.8rem 0;
    line-height: 1.3;
}

.text-box-content {
    font-family: 'Inter', sans-serif;
    font-size: 1em;
    line-height: 1.4;
    margin: 0;
}

#fourth-page {
    min-height: 90vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    padding: 3rem;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

#content-section {
    flex: 1;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    font-family: 'Inter', sans-serif;
    font-size: 1em;
    font-weight: 300;
}

#fourth-header {
    font-family: 'Libre Baskerville', sans-serif;
    font-weight: 400;
    font-size: 3em;
    margin-bottom: 0.7em;
}

.textbox {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    box-sizing: border-box;
    min-height: 100px;
}

.text-box-header,
.text-box-content {
    font-size: 1em;
    margin-left: 1em;
    margin-right: 1em;
}

.text-box-header {
    flex: 1;
    margin-bottom: 2em;
    font-family: 'Libre Baskerville', sans-serif;
    height: 6em;
}

.text-box-content {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    flex-grow: 1;
}

#handshake-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 0;
    display: block;
    padding: 2rem;
}

#contact-page {
    margin-top: 0;
    min-height: 40vh;
    background-image: url(./assets/contact_bg.webp);
    background-size: cover;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

#list {
    margin-top: 3em;
    padding-left: 0;
}

#contact-header {
    margin-left: auto;
    margin-right: auto;
    font-family: 'Liana', sans-serif;
    font-size: 8em;
    font-weight: bolder;
    color: #F4F1EC;
    text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.2);
}

#contact-footer {
    background-color: #F4F1EC;
    padding: 2rem;
    color: black;
    margin-top: auto;
}

#contact-content {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.top-sections {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}



#right-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#footer-logo {
    font-family: 'Libre Baskerville', sans-serif;
    font-size: 1.8em;
    margin-top:0.7em;
    color: black;
    
}

/* #footer-bottom p{
    font-family: 'Libre baskerville', sans-serif;
} */

#middle-header,
.r-section-main {
    font-family: 'Libre Baskerville', sans-serif;
    font-size: 1.4em;
    margin: 0 0 1rem 0;
    color: black;
}

.m-section-content,
.r-section-content {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    margin: 0.5rem 0;
    color: black;
}

.r-section-header {
    font-family: 'Inter', sans-serif;
    margin: 0.5rem 0;
    font-weight: bold;
    color: #CDAD7D;
}

#feedback-page {
    display: flex;
    align-items: center;
    background-image: url(./assets/feedback_bg.webp);
    background-size: cover;
    padding-left: 3em;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

#feedback-header,
#feedback-page p {
    font-family: 'Libre Baskerville', sans-serif;
    font-weight: 400;
    color: #F4F1EC;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

#feedback-header {
    margin-top: 25vh;
}

#feedback-page p {
    margin-top: 0;
}

#feedback-box-div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 1em;
    margin-left: 3em;
    margin-right: 3em;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 1rem;
}

.feedback-box {
    width: 30%;
    padding: 1em;
    display: flex;
    flex-direction: column;
    gap: 1em;
    border: 1px solid #CDAD7D;
    background-color: #F4F1EC;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
    color: black;
    width: 100%;
    max-width: 100%;
    margin: 0 0 1rem 0;
}

.feedback-content {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
}

.feedback-writer {
    font-family: 'Libre Baskerville', sans-serif;
    font-weight: 400;
    font-style: italic;
    color: #CDAD7D;
}

#faq-page {
    padding: 4rem 1rem 2rem 1rem;
    background-image: url(./assets/faq_bg.webp);
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.faq-title {
    margin-right: 2em;
    font-family: 'Libre Baskerville', sans-serif;
    font-weight: 400;
    color: #CDAD7D;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    font-size: 3em;
    text-align: center;
    width: 100%;
}

/* #faq-page h1 {
    margin-left:0;
    font-size: 2.6em;
} */


#faq-subheading {
    width: 70%;
    max-width: 800px;
    /* margin-left:auto;
    margin-right:auto; */
    /* margin: 1rem auto auto;
    margin-left: 1.3em;*/
    margin-right: 5.5em;
    font-family: 'Libre Baskerville', sans-serif;
    font-weight: 400;
    color: #F4F1EC;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    font-size: 1.1em;
    text-align: center;
}

.faq-item {
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    overflow: hidden;
    /* margin:1em; */
}

.faq-question {
    width: 100%;
    padding: 1rem;
    text-align: left;
    background: none;
    border: none;
    font-size: 1.1em;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}



#faq-page {
    background-image: url(./assets/faq_bg.webp);
    background-size: cover;
}

#faq-page h1 {
    margin-left: 2em;
    margin-top: 2em;
    margin-bottom: 0;
    font-family: 'Libre Baskerville', sans-serif;
    font-weight: 400;
    color: #CDAD7D;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    font-size: 3em;

}

#faq-subheading {
    width: 70%;
    margin-left: 5.5em;
    /* margin-top:4em; */
    font-family: 'Libre Baskerville', sans-serif;
    font-weight: 400;
    color: #F4F1EC;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    font-size: 1.1em;
}

.faq-container {
    display:flex;
    flex-direction: column;
    width: 100%;
    max-width: 800px;
    margin: 2em auto;
    gap:8px;
}



.faq-question {
    width: 100%;
    background-color: #F4F1EC;
    color: #333;
    padding: 15px;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 18px;
    font-weight: bold;
    transition: background-color 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.faq-question:hover {
    background-color: #fbead0;
}

.faq-answer {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.9em;
    background-color: #f9f9f9;
    overflow: hidden;
    max-height: 0;
    padding: 0 1rem; /* Keep horizontal padding */
    opacity: 0;
    transition: max-height 0.3s ease-out, padding 0.4s ease-out, opacity 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Large enough to fit the content */
    padding: 1rem; /* Add vertical padding */
    opacity: 1;
}

.faq-item.active .faq-question {
    background-color: #fbead0;
}

/* List styles */
li {
    list-style-type: none;
    display: flex;
    align-items: center;
    margin-bottom: 1em;
    gap: 1em;
}

.list-item {
    margin: 0;
    font-size: 1.2em;
    color: inherit;
}

.list-img {
    width: 40px;
    height: 40px;
    margin: 0;
}

/* Media Queries */
@media screen and (max-width: 768px) {
    #menu-toggle {
        display: block;
    }

    #menubar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: auto;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        padding: 1rem 0.5rem 1rem 2rem;
        background-color: rgba(219, 191, 148, 0.95);
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        backdrop-filter: blur(5px);
        gap: 1rem;
    }

    #menubar.visible {
        transform: translateY(0);
    }

    .menu-spacer {
        display: block;
        width: 3.5rem;
        flex-shrink: 0;
        margin-left: auto;
    }

    .menu-item {
        margin: 0;
        font-size: 0.85rem;
        color: white;
        white-space: nowrap;
    }

    #menu-middle {
        order: 0;
        margin: 0;
        flex-shrink: 0;
    }

    #middle-top {
        font-size: 0.95rem;
        color: white;
        margin: 0;
    }

    #middle-bottom {
        font-size: 0.75rem;
        color: white;
        margin: 0;
    }

    #second-page {
        flex-direction: column;
        padding: 2rem;
        gap: 2rem;
    }

    #txt-section {
        align-items: center;
        text-align: center;
        max-width: 100%;
    }

    #img-section {
        width: 100%;
    }

    #sm-image {
        max-width: 300px;
        margin: 0 auto;
    }

    #txt-section,
    #img-section {
        width: 100%;
        max-width: none;
        margin: 1rem 0;
    }

    #box-div {
        flex-direction: column;
        padding: 1rem;
        margin: 0;
        width: auto;
        max-width: 100%;
    }

    .textbox {
        width: auto;
        margin-bottom: 1rem;
    }

    #fourth-page {
        flex-direction: column;
        padding: 2rem 1rem;
        gap: 2rem;
    }

    #content-section {
        max-width: 100%;
        margin: 0;
        padding: 0 1rem;
    }

    #fourth-header {
        font-size: 2em;
        text-align: center;
    }

    #handshake-img {
        max-width: 300px;
        padding: 0;
    }

    #feedback-box-div {
        flex-direction: column;
        margin: 1rem;
    }

    .feedback-box {
        width: auto;
        margin-bottom: 1rem;
    }

    .top-sections {
        flex-direction: column;
        gap: 1rem;
    }

    .logo-container {
        bottom: 1rem;
        left: 1rem;
    }

    .logo-top {
        font-size: 1em;
    }

    .logo-bottom {
        font-size: 0.8em;
    }

    #first-page {
        padding: 1rem;
    }

    #shaneis-text {
        margin: 1rem 0 0 1rem;
        text-align: center;
    }

    #murray-text {
        margin: -0.3rem 0 0 1rem;
        text-align: center;
    }

    #menu-toggle {
        display: block;
    }

    #menubar.visible~#menu-toggle {
        visibility: hidden;
        opacity: 0;
    }
}

@media screen and (max-width: 480px) {
    #first-header {
        font-size: 1.5rem;
        padding-top: 5vh;
    }

    .contact-btn {
        width: 90%;
        margin: 1rem auto;
    }

    #list {
        max-width: 100%;
    }

    .list-img {
        width: 24px;
        height: 24px;
    }

    .list-item {
        font-size: 0.9em;
    }

    #content-section {
        margin: 1rem;
    }

    #faq-page {
        padding: 3rem;
        align-items: center;
    }
 */

    .faq-question {
        font-size: 0.9em;
        padding: 0.7rem;
    }

    .faq-answer p {
        font-size: 0.9em;
        margin: 0;
        padding: 1rem;
    }

    .contact-content {
        flex-direction: row;
        max-height: 50%;
    }

    #contact-footer {
        padding: 3rem 1rem 0.5rem 1rem;
        font-size:0.5em
    }

    .top-sections {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    #left-section,
    #middle-section {
        width: 100%;
        flex:1;
    }
    #left-section{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    #right-section {
        width: 100%;
        align-items: center;
        text-align: center;
    }

 

    #middle-header,
    .r-section-main {
        font-size: 1.2em;
    }

    .m-section-content,
    .r-section-content {
        font-size: 0.9em;
        margin: 0.3rem 0;
    }

    .r-section-header {
        font-size: 0.9em;
    }

    #third-page {
        padding: 1rem;
    }

    .textbox {
        padding: 1rem;
    }

    .text-box-header {
        font-size: 1.1em;
    }

    .text-box-content {
        font-size: 0.9em;
    }
}

@media screen and (min-width: 769px) {
    .content-page {
        max-width: none;
        background-position: center;
    }

    #first-page {
        padding: 0 2rem;
    }
}

.menu-spacer {
    display: none;
}

@media screen and (max-width: 768px) {
    .menu-spacer {
        display: block;
        width: 3.5rem;
        flex-shrink: 0;
        margin-left: auto;
    }
}

.contact-btn {
    padding: 0.5rem 1.5rem;
    font-family: 'Libre Baskerville', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: #F4F1EC;
    background-color: #666;
    border: 2px solid #CDAD7D;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-btn:hover {
    background-color: #CDAD7D;
    color: #F4F1EC;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.contact-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}