
/* =====================================================
   REFLEXEDGE SOLUTIONS
   CONTACT PAGE CSS
===================================================== */

/* =========================
   ROOT VARIABLES
========================= */

:root {
    --green: #046307;
    --green-dark: #034705;
    --green-light: #e8f2e8;

    --pink: #b01657;
    --pink-dark: #850d40;
    --pink-light: #f8e9ef;

    --white: #ffffff;
    --black: #222222;
    --text: #444444;
    --muted: #777777;
    --border: #dedede;

    --header-height: 76px;
}


/* =========================
   GLOBAL RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", Arial, sans-serif;
    background: #f5f7f6;
    color: var(--black);
    min-height: 100vh;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea {
    font-family: inherit;
}


/* =====================================================
   HEADER
===================================================== */

.site-header {
    width: 100%;
    height: var(--header-height);

    padding: 0 4.5%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.97);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    border-bottom: 1px solid rgba(4, 99, 7, 0.06);
}


/* =========================
   BRAND
========================= */

.brand {
    display: flex;
    align-items: center;
    gap: 13px;

    color: var(--green);

    font-size: 17px;
    font-weight: 700;

    letter-spacing: 0.02em;
    white-space: nowrap;
}

.brand img {
    width: 112px;
    height: 48px;

    object-fit: contain;
    display: block;
}


/* =========================
   DESKTOP NAVIGATION
========================= */

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.desktop-nav a {
    position: relative;

    color: #666666;

    font-size: 14px;
    font-weight: 500;

    padding: 8px 0;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.desktop-nav a:hover {
    color: var(--green);
}

.desktop-nav a.active {
    color: var(--green);
    font-weight: 600;
}


/* Pink underline */

.desktop-nav a.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: -7px;

    height: 2px;

    background: var(--pink);

    border-radius: 10px;
}


/* =========================
   MOBILE MENU BUTTON
========================= */

.menu-button {
    display: none;

    width: 42px;
    height: 42px;

    border: 0;
    border-radius: 8px;

    background: transparent;

    cursor: pointer;

    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 5px;
}

.menu-button span {
    display: block;

    width: 23px;
    height: 2px;

    background: var(--green);

    border-radius: 5px;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}


/* Hamburger animation */

.menu-button.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-button.open span:nth-child(2) {
    opacity: 0;
}

.menu-button.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* =====================================================
   CONTACT FORM AREA
===================================================== */

.container {
    width: calc(100% - 40px);
    max-width: 850px;

    margin: 55px auto;

    background: var(--white);

    padding: 45px;

    border-radius: 18px;

    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.08);
}


/* =========================
   HEADING
========================= */

.container h1 {
    font-size: 32px;
    font-weight: 700;

    color: var(--green);

    line-height: 1.2;

    margin-bottom: 10px;
}

.container h3 {
    font-size: 15px;
    font-weight: 400;

    color: #666666;

    line-height: 1.6;

    margin-bottom: 30px;
}


/* =====================================================
   FORM
===================================================== */

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 18px;
}

.col {
    flex: 1;
}


/* =====================================================
   INPUTS & TEXTAREA
===================================================== */

.form-control {
    width: 100%;

    padding: 15px 16px;

    border: 1px solid #d9d9d9;
    border-radius: 8px;

    background: #ffffff;
    color: #222222;

    font-size: 15px;

    outline: none;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.form-control::placeholder {
    color: #999999;
}


/* Input focus */

.form-control:focus {
    border-color: var(--green);

    box-shadow:
        0 0 0 3px rgba(4, 99, 7, 0.08);
}


/* Textarea */

textarea.form-control {
    min-height: 180px;

    resize: vertical;

    line-height: 1.6;
}


/* =====================================================
   SUBMIT BUTTON
===================================================== */

.btn {
    width: 100%;

    border: none;
    border-radius: 8px;

    padding: 15px 20px;

    font-size: 16px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.btn-dark {
    background: var(--green);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--green-dark);

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(4, 99, 7, 0.20);
}

.btn-dark:active {
    transform: translateY(0);
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 900px) {

    .site-header {
        padding: 0 5%;
    }

    .desktop-nav {
        gap: 25px;
    }

    .container {
        max-width: 800px;
    }
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 700px) {

    .site-header {
        height: 70px;

        padding: 0 20px;
    }


    /* Logo */

    .brand {
        gap: 8px;
        font-size: 15px;
    }

    .brand img {
        width: 95px;
        height: 43px;
    }


    /* Hide desktop navigation */

    .desktop-nav {
        display: none;
    }


    /* Show hamburger */

    .menu-button {
        display: flex;
    }


    /* Contact container */

    .container {
        width: calc(100% - 30px);

        margin: 30px auto;

        padding: 30px 22px;

        border-radius: 14px;
    }


    /* Heading */

    .container h1 {
        font-size: 27px;
    }

    .container h3 {
        font-size: 14px;
    }


    /* Form */

    .form-row {
        flex-direction: column;
        gap: 20px;
    }

    .form-control {
        padding: 14px;
    }
}


/* =====================================================
   SMALL PHONES
===================================================== */

@media (max-width: 400px) {

    .site-header {
        padding: 0 15px;
    }

    .brand span {
        display: none;
    }

    .brand img {
        width: 100px;
    }

    .container {
        width: calc(100% - 20px);

        margin: 20px auto;

        padding: 25px 18px;
    }

    .container h1 {
        font-size: 24px;
    }

    .container h3 {
        font-size: 13px;
    }

    .form-control {
        font-size: 14px;
    }

    .btn {
        font-size: 15px;
    }
}

