﻿/* =========================================
   Contact Page
========================================= */

.contact-page {
    width: 100%;
    padding: 48px 20px 70px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}


/* =========================================
   Header
========================================= */

.contact-header {
    width: 100%;
    max-width: 760px;
    margin: 0 auto 28px;
    text-align: center;
}

.contact-header-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 14px;
    margin-bottom: 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    background: rgba(120, 200, 40, 0.12);
    border: 1px solid rgba(120, 200, 40, 0.35);
}

.contact-header h1 {
    margin: 0 0 12px;
    font-size: 32px;
    font-weight: 900;
    line-height: 1.4;
}

.contact-header p {
    margin: 0;
    font-size: 15px;
    line-height: 1.9;
    opacity: 0.75;
}


/* =========================================
   Contact Card
========================================= */

.contact-card {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    padding: 30px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}


    /* =========================================
   Form Groups
========================================= */

    .contact-card .form-group {
        width: 100%;
        margin-bottom: 22px;
    }

        .contact-card .form-group > label {
            display: block;
            margin-bottom: 8px;
            font-size: 14px;
            font-weight: 800;
            line-height: 1.5;
            text-align: right;
        }


    /* =========================================
   Inputs
========================================= */

    .contact-card .form-control {
        width: 100%;
        min-height: 48px;
        padding: 11px 14px;
        box-sizing: border-box;
        border: 1px solid rgba(0, 0, 0, 0.14);
        border-radius: 12px;
        background: #fff;
        font-family: inherit;
        font-size: 14px;
        outline: none;
        transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    }

        .contact-card .form-control:focus {
            border-color: #75b900;
            box-shadow: 0 0 0 3px rgba(117, 185, 0, 0.12);
        }


    /* =========================================
   Select
========================================= */

    .contact-card select.form-control {
        cursor: pointer;
    }


/* =========================================
   Textarea
========================================= */

.contact-message {
    min-height: 170px !important;
    resize: vertical;
    line-height: 1.8;
}


/* =========================================
   Required / Optional
========================================= */

.required-text {
    margin-right: 4px;
    font-weight: 900;
    color: #d93025;
}

.optional-text {
    margin-right: 6px;
    font-size: 12px;
    font-weight: 500;
    opacity: 0.6;
}

.form-help-text {
    display: block;
    margin-top: 7px;
    font-size: 12px;
    text-align: right;
    opacity: 0.6;
}


/* =========================================
   Message Label
========================================= */

.form-message {
    display: block;
    width: 100%;
    margin-bottom: 20px;
    padding: 12px 14px;
    box-sizing: border-box;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    background: rgba(0, 120, 70, 0.08);
    border: 1px solid rgba(0, 120, 70, 0.15);
}


/* =========================================
   Turnstile
========================================= */

.contact-turnstile {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    margin-bottom: 24px;
}


/* =========================================
   Actions
========================================= */

.contact-actions {
    width: 100%;
    display: flex;
    justify-content: center;
}

.contact-submit-button {
    width: 100%;
    max-width: 320px;
    min-height: 48px;
    font-size: 15px;
    font-weight: 900;
    border-radius: 12px;
}


/* =========================================
   Security Note
========================================= */

.contact-security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    text-align: center;
    font-size: 13px;
    line-height: 1.8;
    opacity: 0.7;
}

    .contact-security-note p {
        margin: 0;
    }

/* Subject + Message wider than normal fields */

.contact-card #<%= txtSubject.ClientID % >,
.contact-card #<%= txtMessage.ClientID % > {
    width: calc(100vw - 80px);
    max-width: 1100px;
}

.contact-wide-field {
    width: calc(100vw - 80px) !important;
    max-width: 1100px;
    position: relative;
    right: 50%;
    transform: translateX(50%);
}
.contact-card {
    max-width: 1100px;
}

/* =========================================
   About Page
========================================= */

.about-page {
    padding-top: 55px;
    padding-bottom: 80px;
}


/* =========================================
   About Header
========================================= */

.about-header {
    max-width: 900px;
    margin-bottom: 34px;
}

    .about-header .contact-header-badge {
        padding: 8px 18px;
        margin-bottom: 16px;
        font-size: 13px;
        font-weight: 900;
        color: #4f8500;
        background: rgba(117, 185, 0, 0.10);
        border: 1px solid rgba(117, 185, 0, 0.25);
    }


    .about-header h1 {
        margin: 0 0 14px;
        font-size: 36px;
        font-weight: 900;
        line-height: 1.5;
        color: #182230;
    }


    .about-header p {
        max-width: 760px;
        margin: 0 auto;
        font-size: 16px;
        line-height: 2;
        color: #667085;
    }


/* =========================================
   About Card
========================================= */

.about-card {
    max-width: 900px;
    padding: 38px 42px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 22px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
}


/* =========================================
   About Sections
========================================= */

.about-section {
    position: relative;
    padding: 24px 26px;
    margin-bottom: 22px;
    background: #fafcf8;
    border: 1px solid rgba(117, 185, 0, 0.10);
    border-radius: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}


    .about-section:last-child {
        margin-bottom: 0;
    }


    .about-section:hover {
        transform: translateY(-2px);
        border-color: rgba(117, 185, 0, 0.25);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    }


    /* =========================================
   About Titles
========================================= */

    .about-section h2 {
        position: relative;
        margin: 0 0 14px;
        padding-right: 18px;
        font-size: 21px;
        font-weight: 900;
        line-height: 1.6;
        color: #202a37;
    }


        .about-section h2::before {
            content: "";
            position: absolute;
            right: 0;
            top: 50%;
            width: 6px;
            height: 24px;
            transform: translateY(-50%);
            border-radius: 10px;
            background: #75b900;
        }


    /* =========================================
   About Paragraphs
========================================= */

    .about-section p {
        margin: 0;
        font-size: 15px;
        line-height: 2.1;
        text-align: justify;
        color: #5f6b7a;
    }


/* =========================================
   Mobile
========================================= */

@media (max-width: 768px) {

    .about-page {
        padding-top: 35px;
        padding-bottom: 55px;
    }

    .about-header {
        margin-bottom: 24px;
    }

        .about-header h1 {
            font-size: 27px;
        }

        .about-header p {
            font-size: 14px;
            line-height: 1.9;
        }

    .about-card {
        padding: 22px 18px;
        border-radius: 17px;
    }

    .about-section {
        padding: 20px 18px;
        margin-bottom: 16px;
        border-radius: 14px;
    }

        .about-section h2 {
            font-size: 18px;
        }

        .about-section p {
            font-size: 14px;
            line-height: 2;
        }
}


/* =========================================
   Small Mobile
========================================= */

@media (max-width: 480px) {

    .about-header h1 {
        font-size: 23px;
    }

    .about-card {
        padding: 16px 12px;
    }

    .about-section {
        padding: 17px 14px;
    }

        .about-section h2 {
            font-size: 17px;
        }

            .about-section h2::before {
                width: 5px;
                height: 20px;
            }
}




/* =========================================
   Mobile
========================================= */

@media (max-width: 768px) {

    .contact-page {
        padding: 32px 14px 50px;
    }

    .contact-header {
        margin-bottom: 20px;
    }

        .contact-header h1 {
            font-size: 26px;
        }

        .contact-header p {
            font-size: 14px;
        }

    .contact-card {
        padding: 22px 16px;
        border-radius: 16px;
    }

        .contact-card .form-group {
            margin-bottom: 18px;
        }

    .contact-submit-button {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .contact-wide-field {
        width: 100% !important;
        max-width: 100%;
        right: auto;
        transform: none;
    }
}
/* =========================================
   Small Mobile
========================================= */

@media (max-width: 480px) {

    .contact-page {
        padding-left: 10px;
        padding-right: 10px;
    }

    .contact-header h1 {
        font-size: 23px;
    }

    .contact-card {
        padding: 18px 12px;
    }

        .contact-card .form-control {
            min-height: 46px;
            font-size: 13px;
        }

    .contact-message {
        min-height: 150px !important;
    }

    .contact-security-note {
        align-items: flex-start;
        text-align: right;
    }
}
