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

:root {
    font-size: clamp(15px, 1.8vw, 18px);
    --text-base: 1rem;
    --bg: white;
    --brand: rgb(1, 204, 0);
    --dark-green: rgb(1, 115, 0);
    --accent: rgba(255, 119, 0, 1);
    --bg2: rgba(247, 255, 247, 1);
}

html {
    scroll-behavior: smooth;
    box-sizing: border-box;
}

body {
    font-family: "Nunito", sans-serif;
    font-size: var(--text-base);
}

.layout__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Homepage Header Section */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(0.5rem);
    box-shadow: 0 1px 7px rgba(0,0,0,0.15);
}

.site-nav {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-nav__brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0 ;
}

.site-nav__toggle {
    display: none;
    background: transparent;
    border: 0;
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.hamburger {
    display: block;
    width: 1.375rem;
    height: 0.125rem;
    background: currentColor;
    position: relative;
}

.site-nav__list {
    display: flex;
    justify-content: flex-end;
    font-weight: 700;
    list-style: none;
    gap: 2rem;
}

.site-nav__list a {
    font-size: 1.10rem;
    display: inline-block;
    color: black;
    text-decoration: none;
    font-weight: 700;
}

.site-nav__list a:hover {
    color: var(--dark-green);
}

/* Homepage Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 2rem;
    margin: 2rem;
}

.hero__content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero__social-proof {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
}

.hero__stats {
    display: flex;
    flex-direction: column;
    line-height: 1.5;
}

.hero__user-avatars {
    display: flex;
}

.hero__user-avatars img {
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 50%;
    object-fit: cover;
    margin-left: -1.5rem;
}

.hero__user-avatars img:first-child {
    margin-left: 0;
}

.hero__stats p:nth-child(1)  {
    font-size: 1.15rem;
    font-weight: 700;
}

.hero__stats p:nth-child(2)  {
    font-size: 0.9rem;
    font-weight: 400;
}

.hero__heading {
    font-size: 3rem;
    font-weight: 700;
}

.inline-block-text {
    display: inline-block;
}

.green-text {
    color: var(--brand)
}

.hero__subtitle {
    margin-top: 1rem;
    font-size: 1.15rem;
    font-weight: 500;
}

.hero__cta-button {
    display: inline-block;
    text-decoration: none;    
    cursor: pointer;
    height: auto;
    border-radius: 1rem;
    background: var(--accent);
    color: var(--bg);
    border: none;
    font-weight: 700;
    padding: 1rem 2rem;
    transition: all 0.2s ease;
    text-align: center;
    max-width: 14rem;
}

.hero__cta-button:hover, .platform-overview__cta:hover, .newsletter__cta:hover, .hiw-page__cta:hover {
    background-color: var(--brand);
    transform: translateY(-2px);
}

.hero__visual {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    border: none;
    border-radius: 50%;
}

.hero__visual::before {
    content: "";
    position: absolute;
    width: 120%;
    height: 120%;
    border-radius: 50%;
    background: radial-gradient(circle,rgba(1,115,0,0.4) 0%,rgba(109, 230, 107, 0.016) 60%);
    filter: blur(70px);
    z-index: -1;
}

.hero__visual img {
    width: 100%;
    max-width: 30rem;
    height: auto;
}

/* Homepage features section */
.features {
    background-color: var(--bg2);
}

.features__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    grid-template-areas: 
    "feature-card--listing feature-card--search feature-card--search"
    "feature-card--listing bottom-right bottom-right";
    gap: 1.5rem;
    padding: 4rem 0;
}

.feature-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 2rem;
    padding: 0 1.5rem;
    box-shadow: 0 0 2px 2px rgba(227, 227, 227, 0.5);
}

.feature-card--listing, .feature-card--referral {
    background-color: var(--dark-green);
}

.feature-card--search, .feature-card--trust {
    background-color: var(--bg);
}

.feature-card--listing {
    grid-area: feature-card--listing;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    overflow: hidden;
}

.feature-card__image-wrapper {
    width: 100%;
    max-width: 15rem;
    aspect-ratio: 9 / 10;
    overflow: hidden;
}

.feature-card--listing img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}

.feature-card__content {
    text-align: center;
}

.feature-card__content h3 {
    color: var(--bg);
    font-size: 1.7rem;
    line-height: 2.5rem;
    font-weight: 700;
}

.feature-card__content p {
    color: var(--bg);
    font-size: 1.1rem;
    margin: 1rem 0;
    line-height: 1.5rem;
}

.feature-card--search {
    grid-area: feature-card--search;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    --input-shift-x: 16rem;
    --input-shift-y: 3.5rem;
    font-weight: 500;
}

.feature-card--search__input-wrapper {
    display: flex;
    gap: 0.5rem;
    margin-top: calc(-1 * var(--input-shift-y));
    margin-left: 0;
    justify-content: flex-end;
    max-width: 100%;
}

.feature-card--search__input {
    color: gray;
    background: var(--bg2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1.5px solid var(--brand);
    border-radius: 2rem;
    padding: 0.8rem;
    min-width: 16rem;
    white-space: nowrap;
}

.feature-card--search__text {
    padding-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-card--search__text h3 {
    font-size: 2rem;
    color: var(--accent);
}

.feature-card--search__text p {
    font-size: 1.1rem;
    max-width: 18rem;
}

.feature-filter__img {
    max-width: 3rem;
    max-height: 3rem;
    padding: 0.5rem;
    background: var(--dark-green);
    border-radius: 50%;
}

.bottom-right {
    grid-area: bottom-right;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1.5rem;
}

.feature-card--trust {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
}

.feature-card--trust h3 {
    font-size: 1.8rem;
    color: var(--accent);
}

.rating {
    margin: 0 auto;
    display: flex;
    gap: 0.5rem;
}

.rating-star {
    max-width: 1rem;
    max-height: 1rem;
}

.users-avatars {
    display: flex;
    margin: 0 auto;
}

.users-avatars .minused {
    margin-left: -1rem;
}

.circle-1k {
    background-color: var(--accent);
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--bg)
}

.first-row-pic {
    margin-left: 0;
} 

.users-avatars img {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    object-fit: cover;
}

.feature-card--referral {
    padding: 1rem 1.5rem;

}

.feature-card--referral h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--bg)    
}

.feature-card--referral-info {
    display: flex;
    gap: 1rem;
}

.feature-card--referral-info p {
    color: var(--bg);
    font-size: 1.1rem;
}

.feature-card--referral-info img {
    max-width: 4rem;
    height: auto;
    flex-shrink: 0;
}

/* Home page standout section */
.value-proposition {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    margin: 5rem 0;
    align-items: center;
}

.value-proposition__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.value-proposition__content h2 {
    font-weight: 700;
    font-size: 2rem;
    text-align: left;
}

.stand-out p {
    font-size: 1.125rem;
}

.benefit {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    align-items: flex-start;
}

.benefit__icon {
    width: 3.5rem;
    flex-shrink: 0;
    border-left: 5px solid var(--accent);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.value-proposition__content > p {
    margin-bottom: 2.5rem;
    max-width: 40ch;
    opacity: 0.85;
}

.benefit + .benefit {
    margin-top: 1.75rem;
}


.benefit h3{
    font-size: 1.5rem;
    font-weight: 700;
}

.benefit p {
    font-size: 1.125rem;
    font-weight: 400;
}

/* Home Testimonial section */
.testimonials {
    background-color: var(--bg2);
    padding: 3rem 0;
}

.testimonial-heading {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 3rem;
}

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

.testimonial-card {
    background-color: var(--bg);
    padding: clamp(1.5rem, 2.5vw, 2.5rem);
    border-radius: 2rem;
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 1.5vw, 1.5rem);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
    min-height: 268px;
}

.testimonials-card__rating {
    display: flex;
    gap: 0.25rem;
}

.testimonials-card__rating {
    width: 1.25rem;
    height: 1.25rem;
}

.testimonials-card__quote {
    font-size: 1.1rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testimonials-card__author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonials-card__author img {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    object-fit: cover;
}

.testimonials-card__author-info {
    display: flex;
    flex-direction: column;
}

.testimonials-card__author-info p:first-child {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0;
}

.testimonial__author p:last-child {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
}

/* Homepage Discount cta Section */
.cta-section {
    background: linear-gradient(to right, var(--dark-green), var(--brand));
    border-radius: 2rem;
    color: white;
    overflow: hidden;
    margin-top: 4rem;
    padding: 2rem 10rem;
    display: flex;
    gap: 2rem;
    flex-direction: column;
    align-items: center;
}

.cta-section h2 {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
}

.cta-section p {
    font-size: 1.25rem;
    line-height: 1.7rem;
    font-weight: 500;
    text-align: center;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.cta-text button p:first-child {
    font-size: 1rem;
    font-weight: 400;
}

.cta-text button p:last-child {
    font-size: 1.125rem;
    font-weight: 700;
}
.cta-text button img {
    width: 2rem;
}

.cta-button-text {
    margin-left: 0.5rem;
    text-align: left;
}

.cta-section-pic img {
    width: 13.75rem;
}

/* Homepage Get to know section */
.platform-overview {
    background-color: var(--bg2);
}

.platform-overview__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: clamp(1.5rem, 5vw, 4rem);
    gap: 3rem;
}

.platform-overview__heading {
    margin-top: 7rem;
    font-size: 2rem;
    font-weight: 700;
}

.platform-overview__description {
    font-size: 1.1rem;
    margin-top: 3rem;
}

.platform-overview__cta, .newsletter__cta, .hiw-page__cta {
    display: inline-block;
    text-decoration: none;    
    cursor: pointer;
    height: auto;
    border-radius: 3rem;
    background: var(--accent);
    color: var(--bg);
    border: none;
    font-weight: 700;
    padding: 1rem 2rem;
    transition: all 0.2s ease;
    text-align: center;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
}

.platform-overview-second-description {
    font-size: 1.1rem;
    margin-top: 2rem;
}

.platform-overview__gallery img {
    width: 100%;
    height: auto;

}

.faq {
    margin: 3rem 0;
}

.faq h2 {
    text-align: center;
    font-size: 2rem;
}

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

.read-more-faq {
    color: var(--brand);
    text-decoration: none;
}

.faq__info {
    display: flex;
    gap: 1rem;
    margin: 0.5rem 0;
    align-items: flex-start;
}

.faq__number {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
    transform: translateY(1px);
}

.faq__info-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.faq__question {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent)
}

.faq__answer {
    font-size: 1rem;
    line-height: 1.8125rem;
    max-width: 100%;
}

.faq__answer-list {
    padding-left: 1.5rem;
    margin-top: -0.5rem;
    line-height: 1.75rem;
}

/* Footer Section */
.footer {
    padding-top: 4rem;
    background-color: var(--bg2);
}

.newsletter {
    color: white;
    background: linear-gradient(to right, var(--dark-green), rgb(33, 248, 33));
    border-radius: 2rem;
    padding: 3rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.newsletter h2 {
    font-size: 1.8rem;
    font-weight: 600;
}

.newsletter p {
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0 15rem;
    text-align: center;
}

.newsletter__cta {
    display: inline-block;
    max-width: 20rem;
    border-radius: 1rem;
    background-color: var(--accent);
    color: var(--bg);
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s;
}

.footer-column-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.footer-column1, .footer-column2, .footer-column3 {
    max-width: 100%;
}

.footer-column1 p {
    line-height: 1.5;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-link:hover {
    background: var(--dark-green);
    cursor: pointer;
}

.social-link {
    background: var(--accent);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    padding: 0.5rem;
    border-radius: 50%;
}

.footer-column2 {
    margin-left: 4rem;
}

.footer-column2 ul {
    margin-top: 1rem;
    font-size: 1.1rem;
    font-weight: bold;
    list-style: none;
    line-height: 2.5;
}

.footer-column2 h3, .footer-column3 h3  {
    color: var(--dark-green);
    font-size: 1.35rem;
}

.footer-link {
    text-decoration: none;
    color: black;
}

.footer-link:hover {
    color: var(--dark-green);
}

.footer-column3 p:nth-of-type(1) {
    margin-top: 1rem;
    font-size: 1.1rem;
    font-weight: bold;
}

.footer-email {
    margin-top: 1.5rem;
    display: inline-block;
    text-decoration: none;
    font-size: 1.1rem;
    color: var(--brand);
}

.footer-tel {
    margin-top: 1.3rem;
    display: inline-block;
    text-decoration: none;
    font-size: 1.1rem;
    color: var(--brand);
}

.footer-email:hover, .footer-tel:hover {
    color: var(--dark-green);
}

.footer__subtitle {
    margin-top: 3rem;
    font-weight: 600;
}

.second-p {
    margin: 1rem 0;
    font-weight: 700;
    font-size: 1.2rem;
}

.copyright {
    font-size: 1rem;
    font-weight: 400;
    padding-bottom: 2rem;
}

.copyright-logo {
    font-size: 1.75rem;
    vertical-align: middle;
}

.nav-overlay {
    display: none;
}

/* for Features page */
.features-hero, .hiw-hero, .about-hero, .waitlist-hero { 
    display: flex; justify-content: center; align-items: center; background-color: var(--dark-green); color: var(--bg); padding: 5rem 15rem; 
}

.features-hero h1, .hiw-hero h1, .about-hero h1, .waitlist-hero h1 { 
    font-size: 3.5rem; font-weight: 700; text-align: center; 
}

.features-page-main {
    background: var(--bg2);
}

.Rhome-features {
    display: grid;
    grid-template-rows: repeat(4, auto);
    gap: 2rem;
    margin-top: 4rem;
}

.Rhome-feature {
    display: grid;
    gap: 1rem;
}

.Rhome-feature1,
.Rhome-feature3 {
    grid-template-columns: 1.4fr 2fr;
}

.Rhome-feature2,
.Rhome-feature4 {
    grid-template-columns: 2fr 1.4fr;
}

.Rhome-feature-div {
    background-color: var(--bg);
    border-radius: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.Rhome-feature-div-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tour-pic, .messaging-pic {
    display: flex;
    justify-content: flex-end;
}

.pic-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.rhome-feature-div-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
}

.rhome-feature-div-title-second {
    font-size: 1.8rem;
    font-weight: 600;
}

.rhome-feature-div-title-text {
    font-size: 1.15rem;
    font-weight: 600;
    color: gray;
}

.Rhome-feature-div img {
    max-width: 100%;
    height: auto;
}

.rhome-feature5, .feature-recommendation, .rhome-feature4, .feature-review, .feature-booking {
    padding: 1rem;
}

.feature-messaging, .features-tours {
    padding: 0 1rem 1rem 1rem;
}

.feature-messaging-text {
    display: flex;
    flex-direction: column;
}

.preference-subheading {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 1rem 0;
}

.rhome-feature4 > div:last-child, .rhome-feature5 > div:last-child {
    display: flex;
    justify-content: center;
    align-items: center;
}

.rhome-features-bottom-media {
    max-width: 8rem;
    height: auto;
}

.shorter-div {
    overflow: hidden;
    background: linear-gradient(var(--bg) 25%, var(--brand));
    padding: 1rem 1rem 0 1rem;    
}


/* How-it-works Page */
.hiw-before-after {
    margin: 3rem 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hiw-before-after-title {
    text-align: center;
}

.hiw-before-after-title h2 {
    font-size: 1.8rem;
}

.hiw-before-after-title p {
    margin-top: 0.5rem;
    color: rgb(51, 51, 51);
}

.hiw-before {
    background: var(--bg2);
    display: flex;
    gap: 1rem;
    border-radius: 2rem;
}

.hiw-before h3 {
    font-size: 2rem;
    font-weight: 600;
}


.before-image, .after-image {
    max-width: 26.3125rem;
    max-height: 17rem;
}

.before-image {
    border-radius: 2rem 0 0 2rem;
}

.before-text, .after-text {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    place-content: center;
}

.before-text-title h3, .after-text-title h3 {
    font-size: 1.8rem;
}

.green-shirt-lady {
    transform: scaleX(-1);
}

.hiw-after {
    display: flex;
    border-radius: 2rem;
    background: var(--bg2);
}

.hiw-title {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 3rem 0;
}

.hiw-title h2 {
    line-height: 2.5rem;
    font-size: 1.8rem;
}

.hiw-reasons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hiw-reason {
    display: flex;
    gap: 1rem;
}

.hiw {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    background: var(--bg2);
}

.hiw-content {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.hiw-content-left, .hiw-content-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    flex: 1;
}

.hiw-content-div {
    display: flex;
    gap: 2rem;
}

.hiw-content-div-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hiw-content-div-text p:first-child {
    font-size: 1.1rem;
    font-weight: bold;
}

.orange-line {
    max-height: 15rem;
    border-radius: 2rem;
    width: 0.8rem;
    background: var(--accent);
}

.men-holding-key {
    display: flex;
    align-items: center;
    justify-content: center;
}

.men-holding-key img {
    max-width: 25rem;
    max-height: 25rem;
    border-radius: 100%;
}

.hiw-page__cta {
    margin-top: 1.5rem;
    text-decoration: none;    
    cursor: pointer;
    height: auto;
    border-radius: 2rem;
    background: var(--accent);
    color: var(--bg);
    border: none;
    font-weight: 700;
    transition: all 0.2s ease;
    display: flex;
    justify-content: center;
    max-width: 18rem;
    gap: 1rem;    
    margin: 0 auto;
}

/* About Us section */

.meet-us {
    margin: 3rem 0;
}

.meet-us-title {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.meet-us-title h2 {
    font-size: 2rem;
}

.team {
    display: flex;
    flex-direction: column;
    margin: 2.5rem 0;
}

.founder {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    place-items: center;
}

.founder > div:first-child {
    max-width: 350px;
}

.founder-pic {
    border-radius: 2rem;
    max-width: 100%;
    height: auto;
    border-radius: 2rem;
    display: block
}

.member-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.member-name {
    font-size: 1.6rem;
    font-weight: 600;
}

.member-description {
    font-size: 1.05rem;
}

.bold-text {
    font-weight: bold;
}

.member-info p {
    line-height: 1.5rem;
}

.member-info ul {
    padding: 0 2rem;
}

.member-info ul li {
    line-height: 1.5rem;
}

.other-members {
    display: flex;
    flex-direction: column;
    margin: 2rem 0;
}

.other-members-text {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 2rem 0;
}

.members {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}
 
.member {
    max-width: 20rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.member-media {
    position: relative;
}

.members-pic {
    width: 100%;
    height: 18rem;
    border-radius: 2rem;
    object-fit: cover;
    display: block;
}

.member p {
    text-align: left;
}

.vision-goal {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    background-color: var(--bg2);
}

.vision-goal-dedication, .vision-title {
    margin-top: 4rem;
}

.vision-goal-media {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.vision-goal-media-pic {
    position: relative;
    display: inline-block;
}

.vision-goal-media-pic img {
    width: 100%;
    max-width: 30rem;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 2rem;
}

.member-caption {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.7);
    padding: 0.5rem;
    border-radius: 1.5rem;
    max-width: 90%;
    font-weight: bold;
}

.vision-goal-caption {
    position: absolute;
    bottom: 10px;
    left: 30px;
    background-color: var(--bg);
    padding: 1rem;
    border-radius: 1.5rem;
    max-width: 90%;
}

.vision-goal-caption-title {
    font-size: 2rem;
    font-weight: 500;
}

.vision-goal-caption p:first-child {
    font-weight: bold;
    margin: 0 0 5px 0;
}

.vision-goal-caption p:last-child {
    margin: 0;
}

.vision-title {
    font-size: 1.8rem;
    font-weight: 700;
}

.vision-goal-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    padding: 0 5rem;
}

.vision-goal-dedication {
    font-size: 1.1rem;
    font-weight: 500;
}

/* waitlist section */

.waitlist-form-section {
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.waitlist-section-title {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}


.waitlist-section-title h2 {
    font-size: 1.8rem;
}

.waitlist-section-title p {
    padding: 0 5rem;
}

.waitlist-form {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.red-text {
    color: red;
}

.waitlist-form input, .waitlist-form select, .waitlist-form textarea {
    padding: 0.75rem 1rem;
    border: none;
    background-color: inherit;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
    outline: none;
    color: var(--text-color);
}

.waitlist-form input:focus, .waitlist-form select:focus, .waitlist-form textarea:focus {
    box-shadow: 0 0 0 2px var(--accent);
    border-radius: 0.75rem;
}

.form-div {
    display: flex;
    flex-direction: column;
    background-color: var(--bg2);
    padding: 0.75rem;
    border-radius: 1.5rem;
}

.form-div label {
    padding-left: 1rem;
}

.form-div input {
    font-weight: bold;
}

.waitlist-form input::placeholder, .waitlist-form textarea::placeholder, .waitlist-form select::placeholder {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    color: #999;
}

input::-webkit-input-placeholder { 
    font-family: 'Nunito';
}

input::-moz-placeholder { 
    font-family: 'Nunito'; 
}

input:-ms-input-placeholder { 
    font-family: 'Nunito'; 
}

input:-moz-placeholder { 
    font-family: 'Nunito'; 
}

.waitlist-submit {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.waitlist-submit button {
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    border: none;
    background: var(--accent);
    color: var(--bg);
    font-weight: 700;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s;
    width: 200px;
    margin: 0 auto
}

.waitlist-submit button:hover {
    background: var(--brand);
}

.agree-term {
    margin: 0 auto;
    display: flex;
    gap: 0.5rem;
    place-items: center;
}

.agree-term-checkbox[type="checkbox"] {
    width: 1rem;
    height: 1rem;
}

.agree-term-checkbox:hover {
    cursor: pointer;
}

/* Fieldset Styles - Housing Questions */
.waitlist-form fieldset {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background-color: var(--bg2);
    padding: 1.5rem;
    border-radius: 1.5rem;
    border: none;
    grid-column: 1 / -1;
}

.waitlist-form fieldset legend {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.waitlist-form fieldset label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    cursor: pointer;
    font-weight: 400;
}

.waitlist-form fieldset input[type="radio"],
.waitlist-form fieldset input[type="checkbox"] {
    width: 1.1rem;
    height: 1.1rem;
    cursor: pointer;
    accent-color: var(--accent);
}

.waitlist-form fieldset textarea {
    margin-top: 0.5rem;
    padding: 0.75rem 1rem;
    border: none;
    background-color: var(--bg);
    border-radius: 0.75rem;
    font-size: 1rem;
    font-family: 'Nunito', sans-serif;
    color: var(--text-color);
    resize: vertical;
    min-height: 70px;
}

.waitlist-form fieldset textarea::placeholder {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    color: #999;
}

.waitlist-form fieldset textarea:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

@media (max-width: 1024px) {
    .testimonials__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-heading {
        font-size: 1.8rem;
    }
}

@media (max-width: 767px) {

    .features-hero, .hiw-hero, .about-hero, .waitlist-hero {
        padding: 3rem 2rem;
    }
    
    .features-hero h1, .hiw-hero h1, .about-hero h1, .waitlist-hero h1 {
        font-size: 2rem;
        margin: 3rem 0;
    }

    .layout__container {
        padding: 0 1rem;
    }

    .site-nav__toggle {
        display: flex;
    }

    .site-nav__list {
        display: none;
    }

    .site-nav__list.open {
        display: flex;
    }

    .site-nav__list a {
        font-size: 1.5rem;
    }

    .nav-overlay {
        position: fixed;
        inset: 0;
        background: white;
        z-index: 5000;
        display: none;
        flex-direction: column;
        padding: 2rem;
        gap: 3rem;
        height: 100dvh;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .nav-overlay.open {
        display: flex;
    }

    .nav-overlay__list {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 2rem;
        padding: 0;
    }

    .nav-overlay__list a {
        font-size: 1.5rem;
        font-weight: 500;
        color: black;
        text-decoration: none;
        font-weight: 700;
    }

    .nav-overlay-logo {
        width: 7rem
    }

    .nav-overlay-footer {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .nav-overlay-description {
        font-size: 1.3rem;
    }

    .nav-overlay-slogan {
        font-weight: bold;
        font-size: 1.3rem;
    }

    .nav-social-links {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }

    .nav-close {
        background: none;
        border: none;
        cursor: pointer;
        display: flex;
        align-self: flex-end;
    }

    .nav-close img {
        width: 2rem;
        height: 2rem;
    }

    .site-nav__brand {
        padding: 0.2rem 0;
    }
    
    .site-nav__brand-logo {
        max-width: 7rem;
    }

    .hero {
        grid-template-columns: 1fr;
        margin: 1rem 0;
    }

    .hero__user-avatars img {
        width: 3rem;
        height: 3rem;
    }

    .hero__heading {
        font-size: clamp(1.8rem, 6vw, 2.4rem);
    }

    .hero__visual {
        max-width: 20rem;
        margin: 0 auto;
    }

    .hero__social-proof {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        margin-top: 1rem;    
    }

    .hero__user-avatars {
        display: flex;
        justify-content: center;
        gap: 0.4rem;
    }

    .hero__user-avatars img {
        width: 45px;
        height: 45px;
    }

    .hero__stats {
        margin: 0;
    }

    .hero__stats p {
        margin: 0;
        font-size: 0.9rem;
        line-height: 1.3;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-card--listing {
        gap: 1.5rem;
    }

    .feature-card__content h3 {
        font-size: 1.4rem;
        line-height: 1.8rem;
    }

    .feature-card__content p {
        font-size: 1rem;
    }

    .feature-card--search {
        padding: 1.5rem;
        --input-shift-x: 0;
        --input-shift-y: 0;
    }

    .feature-card--search__input-wrapper {
        margin: 1.5rem 0 0 0;
        align-self: stretch;
        justify-content: space-between;
    }

    .feature-card--search__input {
        min-width: 0;
        flex: 1;
        font-size: 0.9rem;
    }

    .feature-card--search__text h3 {
        font-size: 1.5rem;
    }

    .feature-card--search__text p {
        max-width: 100%;
        font-size: 1rem;
    }

    .bottom-right {
        display: contents;
    }

    .feature-card--trust h3 {
        font-size: 1.4rem;
    }

    .feature-card--referral h3 {
        font-size: 1.4rem;
    }

    .feature-card--referral-info img {
        max-width: 8rem;
    }

   .value-proposition {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin: 3rem 0;
    }

    .value-proposition__content h2 {
        font-size: 1.75rem;
        text-align: center;
    }

    .value-proposition__content p {
        margin-bottom: 2rem;
        max-width: 100%;
    }

    .benefit {
        gap: 1rem;
        margin: 0;
    }

    .benefit-slogan {
        text-align: center;
        padding-top: 1rem;
    }

    .benefit__icon {
        width: 4rem;
        height: 4rem;
        padding: 1rem;
    }

    .benefit h3 {
        font-size: 1.25rem;
    }

    .benefit p {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    .benefit__description {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .cta-section {
        padding: 2rem 1.5rem;
        margin-top: 6rem;
    }

    .cta-section p {
        font-size: 1.1rem;
    }

    .faq__grid {
        grid-template-columns: 1fr;
    }

    .platform-overview {
        padding: 3rem 0;
    }

    .platform-overview__container {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 1rem;
    }

    .platform-overview__heading {
        margin-top: 0;
    }
    
    .platform-overview__description,
    .platform-overview-second-description {
        margin-top: 1.8rem;
        line-height: 1.5;
    }

    .platform-overview__cta {
        display: block;
        max-width: 16rem;
    }

    .features__grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "feature-card--listing"
            "feature-card--search"
            "feature-card--trust"
            "feature-card--referral";
        gap: 1rem;
    }

    .feature-card {
        padding: 1.25rem;
    }

    .feature-card--search {
        padding: 1.25rem;
    }

    .feature-card--search__text p {
        max-width: 100%;
    }

    .feature-card--search__input-wrapper {
        margin: 1rem 0 0;
        align-self: stretch;
        justify-content: space-between;
    }

    .feature-card--search__input {
        min-width: 0;
        flex: 1;
        padding: 0.65rem 0.75rem;
    }

    .feature-card--search__input p {
        font-size: 0.75rem;
    }

    .feature-filter__img {
        max-width: 2.5rem;
        max-height: 2.5rem;
        padding: 0.4rem;
    }

    .users-avatars .minused {
        margin-left: -0.6rem;
    }

    .testimonials__grid {
        display: flex;
        gap: 1.25rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-inline: 1rem;
        -webkit-overflow-scrolling: touch;
    }

    .testimonials__grid::-webkit-scrollbar {
        display: none;
    }

    .testimonial-card {
        width: 100%;
        flex-shrink: 0;
        scroll-snap-align: start;
        margin: 0.5rem 0;
    }

    .footer-column-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .newsletter {
        padding: 2.5rem 1.5rem;
        text-align: center;
    }

    .newsletter p {
        font-size: 1rem;
        padding: 0.5rem;
        font-weight: 600;
    }

    .newsletter__cta {
        margin: 0;
    }

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

    .member-info ul {
        padding: 0 1.2rem;
        text-align: left;
    }
    
    .footer-column-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-column2 {
        margin-left: 0;
    }

    .newsletter h2 {
        font-size: 2rem;
    }

    .newsletter p {
        font-size: 1.2rem;
    }

    .footer__subtitle {
        text-align: center;
    }

    .copyright {
        text-align: center;
    }

    .members-pic {
        height: 20rem;
    }

    .member {
        max-width: 23rem;
    }

    .vision-goal {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .vision-goal-section {
        gap: 1rem;
        grid-template-columns: 1fr;
        padding: 0 1.5rem;    
    }

    .vision-goal-media {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .vision-goal-media-pic img {
        width: 100%;
        max-width: 25rem;
        aspect-ratio: 1 / 1;
    }

    .vision-goal-dedication, .vision-title {
        margin-top: 0;
    }

    .vision-title {
        font-size: 1.8rem;
        text-align: center;
        margin-top: 3rem;
    }

    .vision-goal-section p {
        text-align: center;
    }

    .vision-goal-caption {
        position: absolute;
        bottom: 10px;
        left: 17px;
    }

    .vision-goal-caption p {
        text-align: left;
        font-size: 0.9rem;
    }

    .vision-goal-caption-title {
        font-size: 1.6rem;
    }

    .Rhome-feature1, .Rhome-feature2, .Rhome-feature3, .Rhome-feature4 {
        grid-template-columns: 1fr;
    }

    .Rhome-feature {
        gap: 1.5rem;
    }

    .booking-flow {
        grid-template-columns: 1fr;
    }

    .Rhome-feature-div > div {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .rhome-feature-div-title {
        font-size: 1.1rem;
    }

    .rhome-feature-div-title-second {
        font-size: 1.5rem;
    }

    .rhome-feature-div-title-text {
        font-size: 1rem;
    }

    /* Mobile How-It-Works Page */
    .hiw-before, .hiw-after {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .before-image, .after-image {
        max-width: 100%;
        height: auto;
        border-radius: 2rem;
    }

    .hiw-before h3, .hiw-after h3 {
        font-size: 1.5rem;
        text-align: center;
    }

    .hiw-reasons {
        line-height: 1.6rem;
    }

    .hiw-reason {
        align-items: flex-start;
    }

    /* HOW IT WORKS FLOW SECTION */
    .hiw-content {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }

    .hiw-content-left, .hiw-content-right {
        width: 100%;
    }

    .hiw-content-div {
        flex-direction: row;
        align-items: flex-start;
        gap: 1rem;
    }

    .hiw-content-div p:first-child {
        font-weight: 700;
        font-size: 1.05rem;
    }

    .hiw-content-div p:last-child {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .orange-line {
        width: 4px;
        height: 100%;
        min-height: 6rem;
        max-height: none;
        border-radius: 1rem;
        margin: 0 0.75rem;
    }

    .men-holding-key {
        max-width: 20rem;
        max-height: 20rem;
        margin: 0 auto;
    }

    .men-holding-key img {
        width: 100%;
        height: auto;
    }

    /* CTA */
    .hiw-page__cta {
        margin-top: 2rem;
        max-width: 100%;
    }

    /* Mobile Wishlist Page */
    .waitlist-form-section {
        margin: 4rem 0;
    }

    .waitlist-section-title h2 {
        font-size: 2rem;
    }

    .waitlist-section-title p {
        padding: 0 1rem;
        line-height: 1.5rem;
        font-size: 1.2rem;
    }

    .agree-term {
        margin: 1rem;
        display: flex;
        align-items: flex-start;
    }

    .agree-term label {
        text-align: left;
    }

    .agree-term-checkbox {
        margin-top: 0.25rem;
    }
}

@media (max-width: 480px) {
    .features-hero, .hiw-hero, .about-hero, .waitlist-hero {
        padding: 2rem 1rem;
    }
    
    .features-hero h1, .hiw-hero h1, .about-hero h1, .waitlist-hero h1 {
        font-size: 1.5rem;
    }
}