@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:ital,wght@0,200..900;1,200..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --m-green: #055d18;
    --l-green: #d1e1c2;
    --d-green: #142602;
    --m-blue: #104378;
    --l-blue: #D5E1E7;
    --l-grey: #c9c9c9;
    --yel: #EAB308;
    --off-white: #FAFAFA;
    --subtle-text: #d3d3d3;
    --subtle-text-wbg: #00000088;
    --border-grey: #A1A1A1;
    --highlight-grey: #e9e9e9;
    --h1: 36px;
    --h2: 28px;
    --h3: 20px;
    --p: 16px;
    --crim: 'Crimson Pro', serif;
    --mont: 'Montserrat', sans-serif;
}

html,
body {
    margin: 0;
    padding: 0;
}

html {
    padding: 0px;
}

body {
    background-color: #FAFAFA;
    padding: 0px;
}

h1 {
    font-size: var(--h1);
    font-family: 'Crimson Pro', serif;
    font-weight: 400;
}

h2 {
    font-size: var(--h2);
    font-family: 'Crimson Pro', serif;
    font-weight: 600;
}

h3 {
    font-size: var(--h3);
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

h4 {
    font-size: var(--p);
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

p {
    font-size: var(--p);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.4em;
}

ul,
li {
    font-family: var(--mont);
}

li {
    margin-top: 12px;
}

.a-green {
    text-decoration: none;
    color: var(--m-green);
}

.a-yel {
    text-decoration: none;
    color: var(--yel);
}

.col-white {
    color: white !important;
}

.col-yel {
    color: var(--yel) !important;
}

.col-blue {
    color: var(--m-blue) !important;
}

.col-green {
    color: var(--m-green) !important;
}

.col-subtle {
    color: var(--subtle-text);
}

.col-red {
    color: red;
}

.crim {
    font-family: var(--crim);
}

.fs-24 {
    font-size: 24px;
}

.flex-1 {
    flex: 1;
}

.w-100 {
    width: 100%;
}

.mt0 {
    margin: 0;
}

.navbar {
    top: 0px;
    left: 0px;
    width: 100%;
    box-sizing: border-box;
    position: absolute;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    z-index: 2;
    padding: 16px 24px;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.6);
}

.navbar__toggle {
    display: none;
    background-color: transparent;
    border: none;
    transition: opacity 0.5s ease;
}

.navbar__menu {
    display: flex;
    flex-direction: row;
    column-gap: 16px;
}

.navbar__menu li,
a {
    margin: 0px;
    text-decoration: none;
    list-style: none;
    cursor: pointer;
}

.navbar__menu a {
    color: white;
    font-family: var(--crim);
    font-size: 16px;
    font-weight: 400;
    padding: 8px 0px;
    margin: 0px 12px;
    transition: border .2s ease;
    border-bottom: 2px solid rgba(0, 0, 0, 0);
}

.navbar__menu a:hover {
    border-bottom: 2px solid var(--yel);
}

.content-width {
    margin: 0px auto;
    max-width: 960px;
    width: 960px;
    display: flex;
    flex-direction: column;
}

.info-icon {
    position: absolute;
    right: -40px;
    top: 36px;
    display: inline-block;
    margin-left: 8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid rgb(100, 100, 100);
    color: black;
    text-align: center;
    font-size: 14px;
    line-height: 20px;
    cursor: pointer;
    font-weight: bold;
    font-family: var(--crim);
}

.info-icon:hover {
    cursor: pointer;
}


#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    /* hidden by default */
    z-index: 1000;
}

/* The popup form container */
#contactPopup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 30px;
    padding-top: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    display: none;
    /* hidden by default */
    z-index: 1001;
    width: 40%;
    min-width: 300px;
    max-width: 500px;
}

/* Close button styling */
#contactPopup .close-btn {
    position: absolute;
    background: transparent;
    border: none;
    font-size: 20px;
    right: 24px;
    top: 24px;
    cursor: pointer;
}

/* Form elements styling */
#contactPopup form {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
}

#contactPopup form label {
    margin-top: 10px;
    font-weight: 500;
    font-family: var(--mont);
}

#contactPopup form input,
#contactPopup form textarea {
    margin-top: 5px;
    padding: 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-family: var(--mont);
}

#contactPopup form textarea {
    resize: vertical;
}

.large-submit-btn {
    margin-top: 24px;
    padding: 24px 20px;
    background: var(--m-blue);
    font-family: var(--mont);
    border: none;
    color: #fff;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

.large-submit-btn:hover {
    transform: scale(1.02);
    background-color: var(--m-green);
    color: white;
}

/* #contactPopup form button[type="submit"], #close-confirmation-btn {
    margin-top: 24px;
    padding: 20px;
    background: var(--m-blue);
    font-family: var(--mont);
    border: none;
    color: #fff;
    font-size: 16px;
    border-radius: 3px;
    cursor: pointer;
    width: 100%;
    transition: transform .2s ease, background-color .2s ease, color .2s ease;
  }

#contactPopup form button[type="submit"]:hover, #close-confirmation-btn:hover {
    transform: scale(1.02);
    background-color: var(--m-green);
    color: black;
} */

#contact-form-confirmation {
    flex-direction: column;
    display: none;
}

#footer {
    margin-top: 160px;
    box-shadow: 0px -40px 50px 0px #D4DECA;
    padding: 60px 20px;
    background-color: var(--off-white);
}

#footer-content {
    display: flex;
    flex-direction: row;
    box-sizing: border-box;
    justify-content: space-between;
    max-width: 960px;
    width: 960px;
    column-gap: 64px;
}

#ekolinq-footer-img {
    min-height: 160px;
    min-width: 180px;
    background-color: var(--m-green);
    border-radius: 20px;
}

#footer-img-desktop {
    display: block;
}

#footer-img-mobile {
    display: none;
}

#footer-info {
    flex-direction: column;
    width: 100%;
}

#footer-info-top {
    column-gap: 36px;
    width: 100%;
}

.info-top {
    row-gap: 24px;
}

#footer-info-top a {
    text-decoration: none;
    color: black;
    font-family: var(--crim);
    padding-left: 12px;
    border-left: 3px solid var(--m-green);
    transition: border .2s ease;
}

#footer-info-top a:hover {
    text-decoration: none;
    border-left: 10px solid var(--yel);
}

#footer-contact-btn {
    height: calc(100% - 32px);
    background-color: var(--yel);
    color: black;
    font-family: var(--crim);
    font-size: 16px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease, color .2s ease;
}

#footer-contact-btn:hover {
    background-color: var(--m-green);
    transform: scale(1.02);
    color: white;
}

#footer-info-bottom {
    border-top: 1px solid var(--d-green);
    padding-top: 12px;
    margin-top: 12px;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
}

#footer-contact-info {
    display: flex;
    flex-direction: row;
    column-gap: 48px;
}

.contact-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 16px;
}

#footer-info-bottom i {
    font-size: 20px;
}

#footer-socials {
    width: 100%;
    column-gap: 24px;
    justify-content: flex-end;
}

#footer-socials a {
    transition: color .2s ease, transform .2s ease;
}

#footer-socials a:hover {
    transform: scale(1.1);
}

.contact-a {
    color: var(--m-blue);
    font-weight: 500;
}

#footer .bi {
    padding-top: 4px;
}

#nextdoor-logo {
    padding-top: 2px;
}

.section-title {
    color: var(--m-green);
    font-weight: 600;
}

.action-btn-wbg {
    border-radius: 100px;
    background-color: var(--m-blue);
    color: white;
    height: 40px;
    display: flex;
    padding: 0px;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    border: none;
    padding-right: 24px;
    font-size: 16px;
    font-family: var(--mont);
    font-weight: 500;
    transition: color .2s ease, background-color .2s ease;
}

.action-btn-wbg:hover {
    background-color: var(--m-green);
    cursor: pointer;
}

.action-btn-dbg {
    border-radius: 100px;
    background-color: white;
    color: var(--m-green);
    height: 40px;
    display: flex;
    padding: 0px;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    border: none;
    padding-right: 24px;
    font-size: 14px;
    font-family: var(--mont);
    font-weight: 500;
    transition: color .2s ease, background-color .2s ease;
}

.action-btn-dbg:hover {
    background-color: var(--m-green);
    color: white;
    cursor: pointer;
}

.action-btn-dbg .btn-icon {
    background-color: var(--m-green);
    color: white;
}

.submit-btn {
    position: relative;
    /* Allows pseudo-element positioning */
    border-radius: 100px;
    background-color: var(--m-green);
    color: white;
    height: 48px;
    padding: 0px 24px;
    font-family: var(--mont);
    border: none;
    font-weight: 600;
    font-size: 16px;
    overflow: hidden;
    /* Prevents content overflow during animation */
    transition: color 0.4s ease, transform .2s ease, background-color .2s ease;
    /* Smooth transition for text color */
}

.submit-btn:hover {
    color: black;
    /* Change text color */
    cursor: pointer;
    background-color: var(--yel);
}

.btn-icon {
    font-size: 16px;
    color: var(--d-green);
    background-color: white;
    border-radius: 100px;
    height: 30px;
    width: 30px;
    margin: 0px;
    margin-left: 6px;
    margin-right: 12px;
}

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

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

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

.block-margin {
    margin-top: 120px;
}

.box-shadow {
    box-shadow: 2px 7px 15px 4px #00000015;
    -webkit-box-shadow: 2px 7px 15px 4px #00000015;
    -moz-box-shadow: 2px 7px 15px 4px #00000015;
}

.user-notice-warn {
    width: 100%;
    background-color: rgba(255, 0, 0, 0.213);
    border-left: 3px solid red;
    padding: 12px 16px;
    color: red;
    margin-top: 12px;
}

.user-notice {
    max-width: 500px;
    background-color: #ffe8a4;
    border-left: 5px solid var(--yel);
    padding: 16px 20px;
    text-align: left;
    color: black;
    font-weight: 500;
    font-family: var(--mont);
}

.download-btn {
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 5px;
    color: black;
    background-color: #E7E7E7;
    font-weight: 500;
    font-size: 14px;
    transition: background-color .2s ease;
    border: none;
    font-family: var(--mont);
}

.download-btn:hover {
    background-color: #c8c8c8;
    cursor: pointer;
}

#loading-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--off-white);
    padding: 48px;
    border-radius: 20px;
    text-align: center;
    display: none;
    z-index: 1001;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(0, 0, 0, 0.1);
    border-top-color: var(--m-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: auto;
    margin-top: 48px;
}

.flash-messages {
    position: fixed;
    bottom: 48px;
    right: 48px;
    row-gap: 8px;
}

.flash-message {
    max-width: 360px;
    background-color: #ffe8a4;
    border-left: 5px solid var(--yel);
    padding: 16px 20px;
    text-align: left;
    color: black;
    font-weight: 500;
    font-family: var(--mont);
    transition: transform .2s ease, border .2s ease;
}

.flash-message:hover {
    cursor: pointer;
    transform: scale(1.02)
}

.contact-form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
    margin-top: 12px;
}

.contact-form-group input,
.contact-form-group textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 16px;
}

#recaptcha-form {
    margin-top: 24px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 1015px) {
    .navbar {
        padding: 24px;
    }

    .navbar__toggle {
        display: block;
    }

    .navbar__menu {
        z-index: 3;
        flex-direction: column;
        position: absolute;
        top: 66px;
        right: 0;
        background-color: rgba(0, 0, 0, 0.8);
        width: 100%;
        max-height: 0;
        text-align: left;
        overflow: hidden;
        row-gap: 24px;
        box-shadow: 0px 20px 20px 0px rgba(0, 0, 0, 0.3);
        transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
        padding-left: 24px;
        box-sizing: border-box;
    }

    .navbar__item {
        width: 100%;
        box-sizing: border-box;
        margin: 1rem 0;
        padding-left: 8px;
        text-align: left;
        border-left: 2px solid var(--yel);
    }

    .navbar__item a {
        font-size: 18px;
    }

    .navbar__menu.active {
        padding: 36px 0px;
        padding-left: 24px;
        max-height: 340px;
        /* Arbitrary max height for the dropdown */
    }
}

@media (max-width: 980px) {
    .content-width {
        width: calc(95% - 2em);
    }
}

@media only screen and (max-width: 768px) {
    .content-width {
        width: calc(95% - 2em);
    }

    #contactPopup {
        max-height: 80%;
        overflow-y: scroll;
    }

    .block-margin {
        margin-top: 80px !important;
    }

    #footer {
        padding-top: 48px;
    }

    #footer-content {
        flex-direction: column;
        width: 100%;
        row-gap: 36px;
    }

    #ekolinq-footer-img {
        min-height: 20px;
        background-color: transparent;
        justify-content: center;
    }

    #footer-img-desktop {
        display: none;
    }

    #footer-img-mobile {
        display: block;
    }

    #footer-info {
        flex-direction: column;
        width: 100%;
    }

    #footer-info-top {
        column-gap: 0px;
        width: 100%;
        flex-direction: column;
        row-gap: 0px;
    }

    .info-top {
        row-gap: 0px;
        column-gap: 0px;
    }

    .mobile-remove-margin {
        margin-top: 0px;
    }

    #footer-contact-btn {
        min-height: 64px;
        margin-top: 24px;
    }

    #footer-info-bottom {
        padding-top: 24px;
        margin-top: 36px;
        flex-direction: column;
    }

    #footer-info-bottom i {
        font-size: 20px;
    }

    #footer-contact-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        column-gap: 48px;
    }

    .contact-info {
        display: flex;
        flex-direction: row;
        align-items: center;
        column-gap: 16px;
    }

    .contact-info p {
        line-height: 1em;
    }

    #footer-socials {
        width: 100%;
        column-gap: 48px;
        margin-top: 12px;
        justify-content: center;
    }

    #footer-socials i {
        font-size: 24px;
    }

    .flash-messages {
        position: fixed;
        left: 50%;
        transform: translate(-50%);
        row-gap: 8px;
        bottom: 16px;
        width: 100%;
        padding: 0px 24px;
        box-sizing: border-box;
        align-items: center;
        justify-content: center;
    }
}