﻿/* 🔧 GLOBAL FIX */
*, *::before, *::after {
    box-sizing: border-box;
}
/* ===== Order Page Wrapper ===== */
.order-wrapper {
    display: flex;
    justify-content: center;
    padding: 40px 15px;
    background: #f4f6f8;
}

/* ===== Order Card ===== */
.order-card {
    width: 100%;
    max-width: 760px;
    background: #ffffff;
    padding: 28px;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
    overflow: visible; /* 👈 allow internal curves */
}

/* ===== Headings ===== */
.order-title {
    text-align: center;
    color: #c4161c;
    margin-bottom: 6px;
}

.order-subtitle {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-bottom: 22px;
}

/* ===== Input Groups ===== */
.input-group {
    position: relative;
    width: 100%;
    overflow: hidden; /* 🔒 CRITICAL */
}

    .input-group.required::after {
        content: "*";
        position: absolute;
        top: 50%;
        right: 12px; /* 🔑 moved inside */
        transform: translateY(-50%);
        color: #c4161c;
        font-size: 18px;
        font-weight: bold;
        pointer-events: none;
    }

/* ===== Inputs ===== */
.input-field {
    width: 100%;
    max-width: 100%;
    padding: 12px 34px 12px 12px; /* reduced right padding */
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 14px;
    display: block;
    background: #fff;
}

    .input-field:focus {
        outline: none;
        border-color: #c4161c;
    }

/* ===== Textarea ===== */
.textarea {
    resize: none;
    min-height: 90px;
}

/* ===== Order Summary ===== */
.order-summary {
    background: #f9f9f9;
    border-left: 4px solid #c4161c;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 18px;
}

    .order-summary strong {
        color: #c4161c;
    }

/* ===== Submit Button ===== */
.order-btn-main {
    -webkit-appearance: none;
    appearance: none;
    display: inline-block; /* 🔑 desktop fix */
    width: auto; /* 🔑 desktop fix */
    min-width: 220px; /* nice button size */
    max-width: 100%;
    padding: 14px 28px;
    margin: 0 auto;
    border: none;
    border-radius: 30px;
    background: linear-gradient(135deg, #c4161c, #9f1015);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
}

    .order-btn-main:hover {
        background: linear-gradient(135deg, #a81218, #7f0f13);
        box-shadow: 0 12px 24px rgba(196,22,28,.45);
    }

/* ===== Messages ===== */
.success {
    margin-top: 15px;
    color: #1e8e3e;
    text-align: center;
    font-weight: bold;
}

.error {
    margin-top: 15px;
    color: #d93025;
    text-align: center;
    font-weight: bold;
}

/* ===== Service Image on Order Page ===== */
.order-service-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 18px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

.query-card {
    width: 100%;
    max-width: 720px; /* 👈 BIGGER CARD */
    min-height: 520px; /* 👈 TALLER CARD */
    background: #ffffff;
    padding: 35px 40px;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
    overflow: hidden;
}

/* ===== Offline Service Box ===== */
/* ===== Offline Section Fix ===== */
.offline-box {
    min-height: 520px; /* MATCH CARD */
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #fff5f5;
    border-left: 6px solid #c4161c;
    border-radius: 18px;
}

    /* Title */
    .offline-box h3 {
        color: #c4161c;
        margin-bottom: 10px;
        font-size: 20px;
    }

    /* Text */
    .offline-box p {
        font-size: 14px;
        color: #444;
        line-height: 1.6;
        margin: 6px 0;
    }

/* Shop Details */
.shop-details {
    margin-top: 10px;
    font-size: 14px;
}

/* Call Button */
.call-btn {   
    padding: 12px;
    border-radius: 30px;
    border: none;
    background: #c4161c;
    color: #ffffff;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
}

    .call-btn:hover {
        background: #a81218;
    }

.shop-details {
    margin-top: 12px;
    font-size: 14px;
}

.call-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    background: #c4161c;
    color: #fff;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
}

    .call-btn:hover {
        background: #a81218;
    }

.shop-details {
    margin-top: 12px;
    font-size: 14px;
}

.call-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    background: #c4161c;
    color: #fff;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
}

    .call-btn:hover {
        background: #a81218;
    }

.back-btn {
    margin-top: 15px;
    background: transparent;
    border: 2px solid #c4161c;
    color: #c4161c;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
}

    .back-btn:hover {
        background: #c4161c;
        color: #fff;
    }
.required-note {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}

    .required-note span {
        color: #c4161c;
        font-weight: bold;
    }
.order-summary {
    background: #f9f9f9;
    border-left: 4px solid #c4161c;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 18px;
}

.service-name {
    font-weight: bold;
    font-size: 15px;
}

.service-cost {
    font-size: 14px;
    color: #555;
}
/* ===== Order Loader ===== */
.order-loader {
    margin-top: 16px;
    text-align: center;
    color: #555;
    font-size: 14px;
}

.spinner {
    width: 36px;
    height: 36px;
    margin: 0 auto 8px;
    border: 4px solid #eee;
    border-top: 4px solid #c4161c;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.field-error {
    color: #d93025;
    font-size: 13px;
    margin-top: 4px;
    display: block;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
/* ===== Whatsapp note===== */
.whatsapp-note {
    background: #f1fdf5;
    border-left: 4px solid #25D366;
    padding: 10px 14px;
    margin: 12px 0;
    font-size: 14px;
    color: #333;
    border-radius: 8px;
}

    .whatsapp-note a {
        color: #25D366;
        font-weight: bold;
        text-decoration: none;
    }

        .whatsapp-note a:hover {
            text-decoration: underline;
        }
/* ===== Mobile ===== */
@media (max-width: 480px) {
    .query-card {
        max-width: 100%;
        padding: 25px;
        min-height: auto;
    }
    .order-btn-main {
        display: block;
        width: 100%;
        min-width: 100%;
        padding: 14px 12px;
        font-size: 15px;
    }
}
/* ===== PAGE TITLE (Same Red Gradient Style) ===== */
.seo-content {
    max-width: 95%;
    margin: 10px auto;
    padding: 10px 10px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

    /* Headings */
    .seo-content h1 {
        font-size: 28px;
        color: #1f2937;
        margin-bottom: 15px;
        border-left: 5px solid #2563eb; /* Blue accent */
        padding-left: 12px;
    }

    .seo-content h2 {
        font-size: 22px;
        color: #111827;
        margin-top: 10px;
        margin-bottom: 12px;
    }

    /* Paragraph text */
    .seo-content p {
        font-size: 16px;
        line-height: 1.75;
        color: #374151;
        margin-bottom: 14px;
    }

/* Highlight keywords */
.seo-highlight {
    color: #2563eb;
    font-weight: 600;
}
