﻿/* =========================================
   CONTACT US PAGE
========================================= */

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: #fff6f6;
    font-family: 'Poppins', sans-serif;
}

.contact-section {
    position: relative;
    padding: 48px 6% 80px;
    min-height: auto;
    overflow: hidden;
}

    .contact-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: radial-gradient(circle at 18% 18%, rgba(215,25,32,0.08), transparent 28%), radial-gradient(circle at 85% 70%, rgba(215,25,32,0.07), transparent 30%), linear-gradient(rgba(215,25,32,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(215,25,32,0.045) 1px, transparent 1px);
        background-size: auto, auto, 76px 76px, 76px 76px;
        z-index: 0;
        pointer-events: none;
    }

.contact-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 34px;
    align-items: stretch;
}

/* LEFT SIDE */

.contact-left {
    position: relative;
    background: rgba(255,255,255,0.55);
    border: 1px solid rgba(215,25,32,0.08);
    overflow: hidden;
}

    .contact-left::before {
        content: "";
        position: absolute;
        top: 28px;
        left: 0;
        width: 5px;
        height: calc(100% - 56px);
        background: #d71920;
        border-radius: 999px;
    }

.contact-left-inner {
    padding: 44px 38px 42px 50px;
}

.contact-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 20px;
    border-radius: 999px;
    background: #ffffff;
    color: #d71920;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    margin: 0 0 28px;
}

.contact-left h1 {
    margin: 0;
    color: #d71920;
    font-size: clamp(38px, 4vw, 58px);
    line-height: 1.02;
    letter-spacing: -2px;
    font-weight: 900;
}

.contact-line {
    display: block;
    width: 88px;
    height: 4px;
    border-radius: 999px;
    background: #d71920;
    margin: 22px 0;
}

.contact-desc {
    max-width: 620px;
    margin: 0 0 32px;
    color: #c91218;
    font-size: 15px;
    line-height: 1.65;
}

/* INFO GRID */

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 28px;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #e31319;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 14px 24px rgba(227,19,25,0.2);
    flex-shrink: 0;
}

.contact-info-card h3 {
    margin: 0 0 4px;
    color: #111111;
    font-size: 15px;
    font-weight: 800;
}

.contact-info-card p {
    margin: 0;
    color: #555555;
    font-size: 13px;
    line-height: 1.5;
    word-break: break-word;
}

/* RIGHT SIDE */

.contact-right {
    display: flex;
}

.contact-form-box {
    width: 100%;
    background: #ffffff;
    border-radius: 32px;
    padding: 44px 46px;
    box-shadow: 0 22px 54px rgba(0,0,0,0.065);
    box-sizing: border-box;
}

.form-label {
    margin: 0 0 10px;
    color: #d71920;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 3px;
}

.contact-form-box h2 {
    margin: 0 0 26px;
    color: #111111;
    font-size: clamp(30px, 3vw, 44px);
    line-height: 1.08;
    letter-spacing: -1.3px;
    font-weight: 900;
}

/* FORM */

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 18px;
    margin-bottom: 18px;
}

.contact-input,
.contact-textarea {
    width: 100%;
    border: none;
    outline: none;
    background: #eeeeee;
    font-family: 'Poppins', sans-serif;
    color: #111111;
    box-sizing: border-box;
    transition: 0.25s ease;
}

.contact-input {
    height: 52px;
    border-radius: 15px;
    padding: 0 20px;
    font-size: 14px;
}

.contact-textarea {
    height: 150px;
    border-radius: 17px;
    resize: none;
    padding: 18px 20px;
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 24px;
}

    .contact-input::placeholder,
    .contact-textarea::placeholder {
        color: #777777;
    }

    .contact-input:focus,
    .contact-textarea:focus {
        background: #ffffff;
        box-shadow: 0 0 0 3px rgba(215,25,32,0.12);
    }

/* BUTTON */

.contact-submit-btn {
    width: 170px;
    height: 52px;
    border: none;
    outline: none;
    border-radius: 999px;
    background: #e31319;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.25s ease;
}

    .contact-submit-btn:hover {
        transform: translateY(-3px);
        background: #c90f15;
        box-shadow: 0 16px 26px rgba(227,19,25,0.22);
    }

/* VALIDATION */

.input-error {
    box-shadow: 0 0 0 3px rgba(215,25,32,0.22) !important;
    background: #fffafa !important;
}

.error-message {
    display: block;
    color: #d71920;
    font-size: 12px;
    font-weight: 600;
    margin-top: 6px;
    margin-left: 8px;
}

/* TABLET */

@media (max-width: 1100px) {
    .contact-section {
        padding: 40px 5% 70px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        max-width: 820px;
        gap: 24px;
    }

    .contact-left-inner {
        padding: 42px 38px 42px 48px;
    }
}

/* PHONE */

@media (max-width: 700px) {
    .contact-section {
        padding: 26px 18px 56px;
    }

    .contact-wrapper {
        gap: 20px;
    }

    .contact-left {
        border-radius: 0;
    }

        .contact-left::before {
            top: 24px;
            height: calc(100% - 48px);
            width: 4px;
        }

    .contact-left-inner {
        padding: 32px 22px 32px 28px;
    }

    .contact-pill {
        min-height: 30px;
        padding: 0 16px;
        font-size: 10px;
        margin-bottom: 22px;
    }

    .contact-left h1 {
        font-size: clamp(31px, 9vw, 40px);
        letter-spacing: -1.4px;
    }

    .contact-line {
        width: 70px;
        height: 3px;
        margin: 18px 0;
    }

    .contact-desc {
        font-size: 13px;
        line-height: 1.6;
        margin-bottom: 26px;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        font-size: 16px;
    }

    .contact-info-card h3 {
        font-size: 14px;
    }

    .contact-info-card p {
        font-size: 12px;
    }

    .contact-form-box {
        border-radius: 24px;
        padding: 30px 20px;
    }

    .form-label {
        font-size: 10px;
        letter-spacing: 2.3px;
    }

    .contact-form-box h2 {
        font-size: 28px;
        margin-bottom: 22px;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 14px;
    }

    .contact-input {
        height: 48px;
        border-radius: 13px;
        padding: 0 16px;
        font-size: 12px;
    }

    .contact-textarea {
        height: 132px;
        border-radius: 14px;
        padding: 16px;
        font-size: 12px;
        margin-bottom: 20px;
    }

    .contact-submit-btn {
        width: 100%;
        height: 50px;
        font-size: 13px;
    }
}

/* SMALL PHONE */

@media (max-width: 420px) {
    .contact-section {
        padding: 22px 14px 50px;
    }

    .contact-left-inner {
        padding: 30px 18px 30px 26px;
    }

    .contact-left h1 {
        font-size: 30px;
    }

    .contact-form-box {
        padding: 28px 16px;
    }
}

/* FOOTER FIX */

.site-footer {
    margin-top: 0 !important;
    background: #ffffff !important;
}

.footer-stats {
    width: 100% !important;
    padding: 26px 6% !important;
    background: #f4f4f4 !important;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0 !important;
    border-top: 1px solid #dddddd !important;
    border-bottom: 1px solid #dddddd !important;
    box-shadow: none !important;
}

    .footer-stats .stat-box {
        background: transparent !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        text-align: center !important;
        padding: 18px 20px !important;
        border-right: 1px solid #d8d8d8 !important;
        display: block !important;
    }

        .footer-stats .stat-box:last-child {
            border-right: none !important;
        }

        .footer-stats .stat-box h2 {
            color: #d71920 !important;
            font-size: 34px !important;
            line-height: 1 !important;
            font-weight: 900 !important;
            margin: 0 0 4px !important;
        }

        .footer-stats .stat-box p {
            color: #000000 !important;
            font-size: 15px !important;
            font-weight: 800 !important;
            margin: 0 !important;
        }

.footer-main {
    background: #ffffff !important;
}

.footer-bottom {
    background: #d71920 !important;
}

@media (max-width: 700px) {
    .footer-stats {
        grid-template-columns: 1fr !important;
    }

        .footer-stats .stat-box {
            border-right: none !important;
            border-bottom: 1px solid #d8d8d8 !important;
        }

            .footer-stats .stat-box:last-child {
                border-bottom: none !important;
            }
}
