@import url("reset.css");


:root {
    --theme-color: #488925;
    --theme-blue: #2ecfff;
}
@font-face {
    font-family: "Bitcount";
    src: url('../fonts/main-font-new/bitcountgridsingle-variablefont_crsvelshelxpslntwght-webfont.woff2') format('woff2'),
    url('../fonts/main-font-new/bitcountgridsingle-variablefont_crsvelshelxpslntwght-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "Playwrite";
    src: url('../fonts/header-font/playwriteauqld-variablefont_wght-webfont.woff2') format('woff2'),
    url('../fonts/header-font/playwriteauqld-variablefont_wght-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "Inder";
    src: url('../fonts/inder/inder-regular-webfont.woff2') format('woff2'),
    url('../fonts/inder/inder-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
    margin: 0;
    background-image: url("/static/img/background.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.header-img {
    height: 100px;
    width: 1000px;
    display: block;
}
.main-header::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to right,
        transparent 0%,
        var(--theme-color) calc(50% - 100px),
        var(--theme-color) calc(50% + 100px),
        transparent 100%
    );

    -webkit-mask-image: linear-gradient(
        to bottom,
        black 0%,
        black 95%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to bottom,
        black 0%,
        black 95%,
        transparent 100%
    );

    z-index: 0;
}
.main-header {
    position: relative;
    width: 100%;
    height: 100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-content {
    position: relative;
    width: 1000px;
    height: 100px;
}
.nav-icons {
    position: absolute;
    top: 50%;
    color: white;
    width: 32px;
    height: 32px;
    transform: translateY(-50%);
    filter: brightness(0) invert(1);
}
.nav-icon-right {
    right: 25px;
}
.nav-icon-left {
    left: 25px;
}

.main-container {
    width: 994px;
    margin: 0 auto;
    background: rgb(28 28 28 / 70%);
    min-height: calc(100vh - 100px);
    border-right: 3px solid;
    border-left: 3px solid;
    border-right-color: var(--theme-color);
    border-left-color: var(--theme-color);
    line-height: 1.2;
    padding-bottom: 50px;
}
.main-container h1 {
    margin: 0;
}
.home-section {
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 10px;
}
.home-section h1 {
    margin-bottom: 15px;
}
.home-list li {
    position: relative;
    padding-left: 30px;
}
.home-list li::before {
    content: "";
    position: absolute;
    left: 0;
    width: 20px;
    height: 20px;
    background-image: url('/static/img/bullet.png');
    background-size: contain;
    background-repeat: no-repeat;
}
.home-list:last-child {
    margin-bottom: 25px;
}

#main-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgb(28 28 28);
    z-index: 1000;
    text-align: center;
    padding: 10px 0;
}

.desktop-menu {
    position: relative;
    margin: 0 auto;
    width: 1000px;
    background: rgb(28 28 28 / 70%);
    text-align: center;
    line-height: 30px;
    border-bottom: 3px solid;
    border-bottom-color: var(--theme-color);
    overflow: hidden;
    max-height: 0;
    transition:
            max-height 0.4s ease-out,
            padding-top 0.4s ease-out,
            padding-bottom 0.4s ease-out;
    padding-top: 0;
    padding-bottom: 0;
}
.desktop-menu.active {
    display: block;
    max-height: 30px;                /* Adjust this to fit your content */
    padding-top: 15px;
    padding-bottom: 15px;
}
.desktop-menu a {
    margin-left: 5px;
    margin-right: 5px;
    font-size: 18px;
}
.desktop-menu a:hover {
    text-decoration: underline;
    color: var(--theme-blue);
}
.desktop-menu a:active {
    color: var(--theme-color);
}
.desktop-menu a:visited {
    color: white;
    text-decoration-color: white;
}
.cta-button {
    text-decoration: underline;
    text-decoration-color: var(--theme-blue);
    font-size: 1.25rem;
    border: 1px solid var(--theme-blue);
    border-radius: 5px;
    padding: 10px;
    margin: 0 auto;
}
.cta-button:hover {
    text-decoration: none;
}
.cta-links {
    margin-top: 20px;
}
.list-header {
    font-size: 1.25rem;
    margin-bottom: 10px;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}
.testimonials-grid section {
    position: relative;
    margin: 10px;
    border: 1px solid var(--theme-blue);
    border-radius: 10px;
    padding: 10px;
    display: grid;
    grid-template-rows: min-content 40px;
    overflow: hidden;
}
.testimonial-content {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
    transition: all 0.3s ease;
}
.testimonial-content::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 60%;
    background: linear-gradient(
        to bottom,
        transparent,
        rgb(0 0 0 / 80%)
    );
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.testimonials-grid section:has(.expand-btn[aria-expanded="true"]) .testimonial-content {
    -webkit-line-clamp: unset;
    display: block;
}
.testimonials-grid section:has(.expand-btn[aria-expanded="true"]) .testimonial-content::after {
    opacity: 0;
}
.testimonials-grid section p {
    font-style: italic;
}
.expand-btn {
    position: absolute;
    bottom: 8px;
    right: 10px;
    z-index: 2;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--theme-blue);
    background: rgba(0, 0, 0, 0.4);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.creative-img {
    float: right;
    width: 300px;
    margin: 100px 0 20px 30px;
    border-radius: 10px;
}

.more-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}
.more-info-grid h2 {
    text-align: center;
}
.more-info-grid section {
    margin-left: 10px;
    margin-right: 10px;
}
.more-info-graphics {
    width: 40%;
    height: auto;
    margin-bottom: 15px;
    color: white;
}
.forms {
    color: white;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 15px;
    margin-bottom: 15px;
}
.full-width {
    grid-column: 1 / -1;
}
.form-group {
    display: flex;
    flex-direction: column;
}
.form-label {
    color: white;
    margin-bottom: 6px;
    font-size: 0.9rem;
    font-family: "Inder", serif;
}
.form-input,
.form-textarea {
    background: #0c141c;
    border: 1px solid var(--theme-blue);
    border-radius: 8px;
    padding: 10px 12px;
    color: white;
    outline: none;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}
.form-input:focus,
.form-textarea:focus {
    border-color: var(--theme-blue);
    box-shadow: 0 0 0 2px rgba(46, 207, 255, 0.15);
}
.file-input {
    padding: 8px;
}
.form-error {
    color: #ff6b6b;
    font-size: 0.8rem;
    margin-top: 5px;
}
.form-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.btn-primary {
    background: var(--theme-color);
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.1s ease;
}
.btn-primary:hover {
    background: #3d7420;
}
.btn-primary:active {
    transform: scale(0.8);
}

.popup-overlay {
    position: fixed;
    inset: 0;
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}
.popup-overlay.active {
    display: flex;
}

.popup-window {
    position: relative;
    width: min(500px, 90vw);
    max-height: 90vh;
    padding: 15px;
    border: 2px solid var(--theme-blue);
    border-radius: 10px;
    background: rgb(28 28 28 / 90%);
    box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.75),
    0 20px 50px rgba(0, 0, 0, 0.85),
    0 40px 100px rgba(0, 0, 0, 0.95);
    overflow-y: auto;
}

.flash-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 10px;
}
.flash-content {
    text-align: center;
    margin-bottom: 15px;
}
.feedback-pad {
    padding-bottom: 100px;
}
.report-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}
.report-grid a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.report-grid svg {
    width: 60px;
    height: 60px;
}
@media (max-width: 1000px) {

    body {
        background-size: auto;
    }

    .main-header {
        height: auto;
        min-height: 100px;
    }

    .header-img {
        width: 100%;
        height: auto;
        max-width: 1000px;
    }

    .header-content {
        width: 100%;
        height: auto;
    }

    .main-container {
        width: calc(100% - 20px);
        margin: 0 auto;
        border-left: 2px solid var(--theme-color);
        border-right: 2px solid var(--theme-color);
    }

    .home-section {
        padding-left: 15px;
        padding-right: 15px;
    }

    .desktop-menu {
        width: 100%;
    }

    .desktop-menu a {
        display: block;
        margin: 8px 0;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .more-info-grid {
        grid-template-columns: 1fr;
    }

    .creative-img {
        float: none;
        display: block;
        width: 100%;
        max-width: 300px;
        margin: 20px auto;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .full-width {
        grid-column: auto;
    }

    .report-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .flash-title {
        font-size: 2rem;
    }
}


