/* ================================================================
   CONTACT PAGE — contact.css
   Praxisly.in | Deep Burgundy #7B0D2E | Golden Amber #D4A017
   ================================================================ */

/* ─────────────────────────────────────────
   1. HERO / CONTACT FORM SECTION
   ───────────────────────────────────────── */

.contact-hero {
    position: relative;
    padding: 80px 0 100px;
    overflow: hidden;
    background: radial-gradient(ellipse at 10% 60%, rgba(212, 160, 23, 0.07) 0%, transparent 55%),
                radial-gradient(ellipse at 90% 20%, rgba(123, 13, 46, 0.08) 0%, transparent 55%),
                #ffffff;
}

/* Decorative blob shape */
.hero-blob {
    position: absolute;
    top: -80px;
    right: 5%;
    width: 380px;
    height: 380px;
    background: linear-gradient(135deg, rgba(123, 13, 46, 0.08) 0%, rgba(212, 160, 23, 0.06) 100%);
    border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
    animation: blobMorph 10s ease-in-out infinite;
    z-index: 0;
}

@keyframes blobMorph {
    0%, 100% { border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%; }
    33%       { border-radius: 40% 60% 30% 70% / 60% 40% 60% 40%; }
    66%       { border-radius: 70% 30% 50% 50% / 40% 70% 30% 60%; }
}

/* Dot grid decoration */
.hero-dots-grid {
    position: absolute;
    top: 60px;
    right: 38%;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, rgba(212, 160, 23, 0.35) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    z-index: 0;
    opacity: 0.7;
}

/* Chevron decoration */
.hero-chevrons {
    position: absolute;
    bottom: 60px;
    right: 3%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 0;
}

.hero-chevrons i {
    font-size: 28px;
    color: var(--secondary);
    opacity: 0.3;
    animation: chevronPulse 2.4s ease-in-out infinite;
}

.hero-chevrons i:nth-child(2) { animation-delay: 0.4s; }

@keyframes chevronPulse {
    0%, 100% { opacity: 0.2; transform: translateX(0); }
    50%       { opacity: 0.6; transform: translateX(6px); }
}

/* Layout */
.contact-hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* ─── LEFT COLUMN ─── */
.contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(212, 160, 23, 0.12);
    border: 1px solid rgba(212, 160, 23, 0.3);
    padding: 8px 18px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: #9a6e04;
    margin-bottom: 28px;
}

.badge-icon {
    font-size: 18px;
    animation: wave 1.6s ease-in-out infinite;
    transform-origin: 70% 70%;
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    20%       { transform: rotate(-10deg); }
    50%       { transform: rotate(14deg); }
    70%       { transform: rotate(-8deg); }
}

.contact-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.contact-hero-title .title-highlight {
    color: var(--primary);
    position: relative;
}

.contact-hero-title .title-highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    opacity: 0.5;
}

.contact-hero-sub {
    font-size: 17px;
    color: var(--text-light);
    margin-bottom: 40px;
    font-family: var(--font-body);
}

/* Info grid */
.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
}

.contact-info-col h4 {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.contact-link {
    display: block;
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    margin-bottom: 6px;
    transition: opacity 0.2s;
}

.contact-link:hover { opacity: 0.75; text-decoration: underline; }

.contact-phone {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 500;
}

/* Help line */
.contact-help-line {
    margin-bottom: 32px;
}

.contact-help-line p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 6px;
}

.help-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: gap 0.2s ease;
}

.help-link:hover { gap: 10px; }
.help-link i { font-size: 14px; }

/* Quick pills */
.contact-quick-pills {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.quick-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1.5px solid transparent;
}

.quick-pill.whatsapp {
    background: #dcfce7;
    color: #166534;
    border-color: #bbf7d0;
}
.quick-pill.whatsapp:hover {
    background: #166534;
    color: #fff;
}

.quick-pill.email {
    background: rgba(123, 13, 46, 0.08);
    color: var(--primary);
    border-color: rgba(123, 13, 46, 0.2);
}
.quick-pill.email:hover {
    background: var(--primary);
    color: #fff;
}

.quick-pill.call {
    background: rgba(212, 160, 23, 0.1);
    color: #7a5a00;
    border-color: rgba(212, 160, 23, 0.25);
}
.quick-pill.call:hover {
    background: var(--secondary);
    color: #fff;
}

/* ─── RIGHT COLUMN: FORM CARD ─── */
.contact-form-card {
    position: relative;
    background: #ffffff;
    border-radius: 24px;
    padding: 48px 44px;
    box-shadow: 0 24px 80px rgba(123, 13, 46, 0.1),
                0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(123, 13, 46, 0.08);
    overflow: hidden;
}

/* Burgundy top accent line */
.form-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 24px 24px 0 0;
}

.form-card-header {
    margin-bottom: 32px;
}

.form-card-header h2 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.form-card-header p {
    font-size: 14px;
    color: var(--text-light);
}

/* Form groups */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    letter-spacing: 0.2px;
}

.form-group label .optional {
    font-weight: 400;
    color: var(--text-light);
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 17px;
    color: #94A3B8;
    pointer-events: none;
    transition: color 0.2s;
}

.textarea-icon {
    top: 18px;
    transform: none;
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
    width: 100%;
    padding: 14px 16px 14px 44px;
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-dark);
    background: #FAFBFC;
    transition: all 0.25s ease;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.input-wrapper textarea {
    padding-top: 14px;
    resize: vertical;
    min-height: 110px;
}

.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(123, 13, 46, 0.08);
}

.input-wrapper input:focus ~ .input-icon,
.input-wrapper select:focus ~ .input-icon,
.input-wrapper textarea:focus ~ .input-icon {
    color: var(--primary);
}

/* Custom select arrow */
.select-wrapper {
    position: relative;
}

.select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    color: #94A3B8;
    pointer-events: none;
}

/* Send button */
.btn-send-message {
    width: 100%;
    padding: 16px 28px;
    background: linear-gradient(135deg, var(--text-dark) 0%, #1a2035 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: 8px;
    letter-spacing: 0.3px;
}

.btn-send-message:hover {
    background: linear-gradient(135deg, var(--primary) 0%, #a01240 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(123, 13, 46, 0.35);
}

.btn-send-message:active {
    transform: translateY(0);
}

.btn-icon {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.btn-send-message:hover .btn-icon {
    transform: translateX(4px) translateY(-2px) rotate(15deg);
}

/* Success message */
.form-success-msg {
    display: none;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 14px 18px;
    background: #dcfce7;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #166534;
}

.form-success-msg i {
    font-size: 20px;
}

.form-success-msg.active {
    display: flex;
}

/* ─────────────────────────────────────────
   2. OFFICES SECTION
   ───────────────────────────────────────── */

.offices-section {
    padding: 100px 0;
    background: #ffffff;
}

.offices-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    background: rgba(123, 13, 46, 0.07);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 18px;
}

.offices-title {
    font-family: var(--font-heading);
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.1;
    margin-bottom: 14px;
    letter-spacing: -1px;
}

.offices-title span {
    color: var(--primary);
}

.offices-sub {
    font-size: 17px;
    color: var(--text-light);
    max-width: 460px;
    margin: 0 auto;
}

/* Grid */
.offices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* Office card */
.office-card {
    cursor: pointer;
    border-radius: 18px;
    overflow: hidden;
    border: 1.5px solid var(--border-color);
    transition: all 0.3s ease;
    background: #fff;
}

.office-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(123, 13, 46, 0.14);
    border-color: rgba(123, 13, 46, 0.2);
}

.office-img-wrap {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.office-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.office-card:hover .office-img-wrap img {
    transform: scale(1.07);
}

/* Hover overlay */
.office-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(123, 13, 46, 0.75) 0%, rgba(123, 13, 46, 0.1) 60%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.office-card:hover .office-overlay {
    opacity: 1;
}

.office-overlay-content {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    backdrop-filter: blur(4px);
}

.office-overlay-content i {
    font-size: 14px;
}

/* Office info */
.office-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
}

.office-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-light);
    flex-shrink: 0;
}

.office-dot.hq-dot {
    background: var(--primary);
    box-shadow: 0 0 0 3px rgba(123, 13, 46, 0.2);
}

.office-dot.online-dot {
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
    animation: onlinePulse 2s ease-in-out infinite;
}

@keyframes onlinePulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2); }
    50%       { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.1); }
}

.office-info strong {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    font-family: var(--font-heading);
    display: block;
}

.hq-badge {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    background: rgba(123, 13, 46, 0.08);
    padding: 2px 8px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 3px;
    display: inline-block;
}

.online-badge {
    font-size: 11px;
    font-weight: 700;
    color: #166534;
    background: #dcfce7;
    padding: 2px 8px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 3px;
    display: inline-block;
}

/* ─────────────────────────────────────────
   3. CTA BANNER
   ───────────────────────────────────────── */

.contact-cta-banner {
    position: relative;
    background: linear-gradient(135deg, #5a0820 0%, var(--primary) 40%, #a01240 70%, #c0282e 100%);
    overflow: hidden;
    padding: 80px 0 0;
}

/* Decorative shapes */
.cta-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.12;
}

.cta-shape-1 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    top: -120px;
    right: 10%;
}

.cta-shape-2 {
    width: 250px;
    height: 250px;
    background: #ffffff;
    bottom: 0;
    left: 5%;
}

.cta-shape-3 {
    width: 180px;
    height: 180px;
    background: var(--secondary);
    top: 30%;
    left: 40%;
    opacity: 0.07;
}

/* Layout */
.cta-banner-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-end;
    position: relative;
    z-index: 1;
}

/* Text side */
.cta-banner-text {
    padding-bottom: 80px;
}

.cta-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--secondary);
    margin-bottom: 20px;
    opacity: 0.9;
}

.cta-banner-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 18px;
}

.cta-banner-text p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    max-width: 420px;
    margin-bottom: 36px;
}

.btn-cta-amber {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: var(--secondary);
    color: #1a0a00;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(212, 160, 23, 0.4);
}

.btn-cta-amber:hover {
    background: #e8b31a;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(212, 160, 23, 0.5);
    gap: 14px;
}

/* People image */
.cta-banner-people {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.cta-people-img {
    width: 100%;
    max-width: 520px;
    object-fit: cover;
    display: block;
    border-radius: 0;
    filter: drop-shadow(0 -20px 40px rgba(0,0,0,0.2));
}

/* ─────────────────────────────────────────
   4. RESPONSIVE
   ───────────────────────────────────────── */

@media (max-width: 1024px) {
    .contact-hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-form-card {
        padding: 36px 30px;
    }

    .offices-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-banner-inner {
        grid-template-columns: 1fr;
    }

    .cta-banner-people {
        display: none;
    }

    .cta-banner-text {
        padding-bottom: 80px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 60px 0 70px;
    }

    .contact-hero-title {
        font-size: 36px;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-form-card {
        padding: 28px 22px;
    }

    .offices-section {
        padding: 70px 0;
    }

    .offices-grid {
        grid-template-columns: 1fr;
    }

    .offices-title {
        font-size: 34px;
    }

    .contact-quick-pills {
        flex-direction: column;
    }

    .quick-pill {
        justify-content: center;
    }
}
